{"id":13870205,"url":"https://github.com/mauriciopoppe/function-plot","last_synced_at":"2026-04-08T19:31:20.337Z","repository":{"id":29629392,"uuid":"33170315","full_name":"mauriciopoppe/function-plot","owner":"mauriciopoppe","description":"A versatile 2d function plotter","archived":false,"fork":false,"pushed_at":"2026-01-03T17:58:43.000Z","size":7027,"stargazers_count":1040,"open_issues_count":9,"forks_count":122,"subscribers_count":17,"default_branch":"master","last_synced_at":"2026-04-01T07:52:33.738Z","etag":null,"topics":["desmos","evaluation-functions","function","function-plot","graph","plot","plotter"],"latest_commit_sha":null,"homepage":"https://mauriciopoppe.github.io/function-plot/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mauriciopoppe.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2015-03-31T07:06:17.000Z","updated_at":"2026-03-23T06:05:28.000Z","dependencies_parsed_at":"2023-09-26T08:31:12.676Z","dependency_job_id":"b7ab20fb-c4cf-4c6b-a029-4be0e823e3c7","html_url":"https://github.com/mauriciopoppe/function-plot","commit_stats":{"total_commits":476,"total_committers":14,"mean_commits":34.0,"dds":"0.32352941176470584","last_synced_commit":"3af472ca72b585d8207f5c177e02ee3f3ea15fb1"},"previous_names":["maurizzzio/simple-function-plot","maurizzzio/function-plot"],"tags_count":108,"template":false,"template_full_name":null,"purl":"pkg:github/mauriciopoppe/function-plot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mauriciopoppe%2Ffunction-plot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mauriciopoppe%2Ffunction-plot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mauriciopoppe%2Ffunction-plot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mauriciopoppe%2Ffunction-plot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mauriciopoppe","download_url":"https://codeload.github.com/mauriciopoppe/function-plot/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mauriciopoppe%2Ffunction-plot/sbom","scorecard":{"id":628536,"data":{"date":"2025-08-11","repo":{"name":"github.com/mauriciopoppe/function-plot","commit":"6310edd7adcbb42bfa114e6eac096caa7c4d8cc2"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.7,"checks":[{"name":"Code-Review","score":0,"reason":"Found 2/29 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":"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":"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":"Maintained","score":10,"reason":"20 commit(s) and 12 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/build-and-test.yml:1","Warn: no topLevel permission defined: .github/workflows/rebase.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":"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/build-and-test.yml:47: update your workflow using https://app.stepsecurity.io/secureworkflow/mauriciopoppe/function-plot/build-and-test.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build-and-test.yml:50: update your workflow using https://app.stepsecurity.io/secureworkflow/mauriciopoppe/function-plot/build-and-test.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build-and-test.yml:11: update your workflow using https://app.stepsecurity.io/secureworkflow/mauriciopoppe/function-plot/build-and-test.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build-and-test.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/mauriciopoppe/function-plot/build-and-test.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build-and-test.yml:26: update your workflow using https://app.stepsecurity.io/secureworkflow/mauriciopoppe/function-plot/build-and-test.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build-and-test.yml:29: update your workflow using https://app.stepsecurity.io/secureworkflow/mauriciopoppe/function-plot/build-and-test.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build-and-test.yml:38: update your workflow using https://app.stepsecurity.io/secureworkflow/mauriciopoppe/function-plot/build-and-test.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/rebase.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/mauriciopoppe/function-plot/rebase.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/rebase.yml:26: update your workflow using https://app.stepsecurity.io/secureworkflow/mauriciopoppe/function-plot/rebase.yml/master?enable=pin","Warn: npmCommand not pinned by hash: .github/workflows/build-and-test.yml:20","Warn: npmCommand not pinned by hash: .github/workflows/build-and-test.yml:35","Warn: npmCommand not pinned by hash: .github/workflows/build-and-test.yml:56","Info:   0 out of   8 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 third-party GitHubAction dependencies pinned","Info:   0 out of   3 npmCommand 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":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT 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":"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":"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'","Warn: branch protection not enabled for branch 'release-1.25'","Warn: branch protection not enabled for branch 'release-1.24'"],"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 21 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":3,"reason":"7 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-67mh-4wv8-2f99","Warn: Project is vulnerable to: GHSA-fjxv-7rqg-78g4","Warn: Project is vulnerable to: GHSA-76c9-3jph-rj3q","Warn: Project is vulnerable to: GHSA-8cj5-5rvv-wf4v","Warn: Project is vulnerable to: GHSA-4v9v-hfq4-rm2v","Warn: Project is vulnerable to: GHSA-9jgg-88mc-972h"],"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-21T07:12:00.710Z","repository_id":29629392,"created_at":"2025-08-21T07:12:00.710Z","updated_at":"2025-08-21T07:12:00.710Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31571599,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T14:31:17.711Z","status":"ssl_error","status_checked_at":"2026-04-08T14:31:17.202Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["desmos","evaluation-functions","function","function-plot","graph","plot","plotter"],"created_at":"2024-08-05T20:01:34.020Z","updated_at":"2026-04-08T19:31:20.327Z","avatar_url":"https://github.com/mauriciopoppe.png","language":"TypeScript","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"readme":"[![image](https://user-images.githubusercontent.com/1616682/93912098-23060300-fcb8-11ea-823f-be8dfe9c24b9.png)](http://mauriciopoppe.github.io/function-plot/)\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://mauriciopoppe.github.io/function-plot/\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/homepage-red\" alt=\"js-standard-style\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://npmjs.org/package/function-plot\"\u003e\n    \u003cimg src=\"https://img.shields.io/npm/v/function-plot.svg?style=flat\" alt=\"NPM\"\u003e\n  \u003c/a\u003e\n\u003ca href=\"https://app.fossa.com/projects/git%2Bgithub.com%2Fmauriciopoppe%2Ffunction-plot?ref=badge_shield\" alt=\"FOSSA Status\"\u003e\u003cimg src=\"https://app.fossa.com/api/projects/git%2Bgithub.com%2Fmauriciopoppe%2Ffunction-plot.svg?type=shield\"/\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/feross/standard\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/code%20style-standard-blue\" alt=\"js-standard-style\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n---\n\nfunction-plot is a powerful library built on top of \u003ca href=\"http://d3js.org/\"\u003eD3.js\u003c/a\u003e whose purpose\nis to render functions with little configuration, think of it as a little clone of Google's plotting\nutility: [y = x \\* x](https://www.google.com/webhp?sourceid=chrome-instant\u0026ion=1\u0026espv=2\u0026es_th=1\u0026ie=UTF-8#q=y+%3D+x+%5E+2)\n\nThe library currently supports interactive line charts and scatterplots, whenever the graph scale is modified the function\nis evaluated again with the new bounds, result: infinite graphs!\n\n## Installation\n\n```sh\nnpm install function-plot\n```\n\n## Usage\n\n```javascript\nimport functionPlot from 'function-plot'\nfunctionPlot({\n  target: '#root',\n  data: [\n    {\n      fn: 'x^2',\n      derivative: {\n        fn: '2*x',\n        updateOnMouseMove: true\n      }\n    }\n  ]\n})\n```\n\n[Check all the examples in the homepage](https://mauriciopoppe.github.io/function-plot/)\n\n## Resources\n\n- [API](https://mauriciopoppe.github.io/function-plot/docs/functions/default-1.html)\n- [Want to know how it works? Read the design docs](./design/)\n  - [Render pipeline](./design/pipeline.md)\n  - [Web workers](./design/web-workers.md)\n\n## License\n\n2015-2023 MIT © Mauricio Poppe\n\n[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fmauriciopoppe%2Ffunction-plot.svg?type=large)](https://app.fossa.com/projects/git%2Bgithub.com%2Fmauriciopoppe%2Ffunction-plot?ref=badge_large)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmauriciopoppe%2Ffunction-plot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmauriciopoppe%2Ffunction-plot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmauriciopoppe%2Ffunction-plot/lists"}