{"id":48063105,"url":"https://github.com/nmalkin/plot-likert","last_synced_at":"2026-04-04T14:34:10.523Z","repository":{"id":38421684,"uuid":"163721060","full_name":"nmalkin/plot-likert","owner":"nmalkin","description":"Python library to visualize results from Likert scale survey questions","archived":false,"fork":false,"pushed_at":"2024-06-07T20:45:21.000Z","size":6151,"stargazers_count":111,"open_issues_count":7,"forks_count":30,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-11-27T18:53:56.376Z","etag":null,"topics":["likert","likert-scale-survey","matplotlib","plot-likert","python","survey-questions","visualization"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nmalkin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-01-01T07:36:17.000Z","updated_at":"2025-09-24T08:36:32.000Z","dependencies_parsed_at":"2024-06-21T05:46:30.478Z","dependency_job_id":null,"html_url":"https://github.com/nmalkin/plot-likert","commit_stats":{"total_commits":111,"total_committers":8,"mean_commits":13.875,"dds":0.1351351351351351,"last_synced_commit":"7bfcf468165a949d1da78c5a51117c1bda3cc161"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/nmalkin/plot-likert","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nmalkin%2Fplot-likert","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nmalkin%2Fplot-likert/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nmalkin%2Fplot-likert/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nmalkin%2Fplot-likert/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nmalkin","download_url":"https://codeload.github.com/nmalkin/plot-likert/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nmalkin%2Fplot-likert/sbom","scorecard":{"id":690784,"data":{"date":"2025-08-11","repo":{"name":"github.com/nmalkin/plot-likert","commit":"ce15502261b0a41aef9a37c8f97a89baaa2bec17"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.7,"checks":[{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":0,"reason":"Found 1/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/test.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/nmalkin/plot-likert/test.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/nmalkin/plot-likert/test.yml/master?enable=pin","Warn: pipCommand not pinned by hash: .github/workflows/test.yml:28","Warn: pipCommand not pinned by hash: .github/workflows/test.yml:29","Warn: pipCommand not pinned by hash: .github/workflows/test.yml:30","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   3 pipCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: BSD 3-Clause \"New\" or \"Revised\" License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 1 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":2,"reason":"8 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: PYSEC-2018-34 / GHSA-2fc2-6r4j-p65h","Warn: Project is vulnerable to: PYSEC-2021-856 / GHSA-5545-2q6w-2gh6","Warn: Project is vulnerable to: PYSEC-2019-108 / GHSA-9fq2-x9r6-wfmf","Warn: Project is vulnerable to: PYSEC-2018-33 / GHSA-cw6w-4rcx-xphc","Warn: Project is vulnerable to: PYSEC-2021-857 / GHSA-f7c7-j99h-c22f","Warn: Project is vulnerable to: GHSA-fpfv-jqm9-f5jm","Warn: Project is vulnerable to: PYSEC-2017-1 / GHSA-frgw-fgh6-9g52","Warn: Project is vulnerable to: PYSEC-2020-73"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-22T02:15:17.039Z","repository_id":38421684,"created_at":"2025-08-22T02:15:17.039Z","updated_at":"2025-08-22T02:15:17.039Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31402844,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-04T10:20:44.708Z","status":"ssl_error","status_checked_at":"2026-04-04T10:20:06.846Z","response_time":60,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["likert","likert-scale-survey","matplotlib","plot-likert","python","survey-questions","visualization"],"created_at":"2026-04-04T14:34:10.429Z","updated_at":"2026-04-04T14:34:10.491Z","avatar_url":"https://github.com/nmalkin.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Plot Likert\n===========\nThis is a library to visualize results from [Likert-type](https://en.wikipedia.org/wiki/Likert_scale) survey questions in Python, using [matplotlib](https://matplotlib.org/).\n\n![A sample plot](docs/sample_plot.png)\n\n\n\nInstallation\n------------\nInstall the latest stable version from PyPI:\n\n```shell\npip install plot-likert\n```\n\nTo get the latest development version:\n\n```shell\npip install --pre plot-likert\n# OR\npip install git+https://github.com/nmalkin/plot-likert.git\n```\n\n\nQuick start\n-----------\n```python\n# Make sure you have some data\nimport pandas as pd\n\ndata = pd.DataFrame({'Q1': {0: 'Strongly disagree', 1: 'Agree', ...},\n                     'Q2': {0: 'Disagree', 1: 'Strongly agree', ...}})\n\n# Now plot it!\nimport plot_likert\n\nplot_likert.plot_likert(data, plot_likert.scales.agree, plot_percentage=True);\n```\n\n\nUsage and sample figures\n------------------------\n\nTo learn about how to use this library and see more example figures,\n[visit the User Guide, which is a Jupyter notebook](https://github.com/nmalkin/plot-likert/blob/release/docs/guide.ipynb).\n\nWant to see even more examples? [Look here](docs/lots_of_random_figures.ipynb)!\n\nBackground\n----------\n\nThis library was inspired by Jason Bryer's great [`likert` package for R](https://cran.r-project.org/web/packages/likert/) (but it's nowhere near as good).\nI needed to visualize the results of some Likert-style questions and knew about the `likert` R package but was surprised to find nothing like that existed in Python, except for a [Stackoverflow answer by Austin Cory Bart](https://stackoverflow.com/a/41384812). This package builds on that solution and packages it as a library.\n\nI've since discovered that there may be other solutions out there.\nHere are a few to consider:\n- https://github.com/dmardanbeigi/Likert_Scale_Plot_in_Python\n- https://github.com/Oliph/likertScalePlot\n- https://blog.orikami.nl/behind-the-screens-likert-scale-visualization-368557ad72d1\n\nWhile this library started as a quick-and-dirty hack,\nit has been steadily improving thanks to the contributions of a number of community members and [Fjohürs Lykkewe](https://www.youtube.com/watch?v=ef7cTuVUiWs).\nThank you to everyone who has contributed!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnmalkin%2Fplot-likert","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnmalkin%2Fplot-likert","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnmalkin%2Fplot-likert/lists"}