{"id":18354685,"url":"https://github.com/nextbitlabs/plotter","last_synced_at":"2025-07-25T19:33:20.853Z","repository":{"id":98590710,"uuid":"215239400","full_name":"nextbitlabs/plotter","owner":"nextbitlabs","description":"Plotter is a web component that plots functions graphs.","archived":false,"fork":false,"pushed_at":"2019-11-10T17:52:31.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-10T01:46:44.135Z","etag":null,"topics":["functions","graphs","math","plotter","webcomponent"],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nextbitlabs.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-10-15T07:52:12.000Z","updated_at":"2019-11-10T17:52:33.000Z","dependencies_parsed_at":null,"dependency_job_id":"a9c7f58c-3e67-49dc-aaea-1fad3135798d","html_url":"https://github.com/nextbitlabs/plotter","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nextbitlabs/plotter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nextbitlabs%2Fplotter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nextbitlabs%2Fplotter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nextbitlabs%2Fplotter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nextbitlabs%2Fplotter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nextbitlabs","download_url":"https://codeload.github.com/nextbitlabs/plotter/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nextbitlabs%2Fplotter/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267052996,"owners_count":24028028,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-25T02:00:09.625Z","response_time":70,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["functions","graphs","math","plotter","webcomponent"],"created_at":"2024-11-05T22:04:51.927Z","updated_at":"2025-07-25T19:33:20.795Z","avatar_url":"https://github.com/nextbitlabs.png","language":null,"readme":"Plotter\n-------\n\n## Schema\n\nThe schema is inspired by D3 and it is designed with the following goals in mind:\n\n* The data model should describe a list of one or more of states.\n* Each state describes one or more visual elements, like lines and points. Elements are useful to draw one or more mathematical functions, possibly with included (or excluded) points and labels.\n* Elements are identified by ids, so that we can recognize the same element on different states and trigger transitions if needed. We may use the enter/update/exit pattern.\n\n```\n// a list of states\n[\n\t{...},\n\t...\n]\n```\n\nEach `state` has the following structure:\n\n```\n{\n\tid: \"state1\", // State id, optional\n\tdescription: \"\" // State description, optional\n\txInterval: [0, 1],\n\tyInterval: [0, 1],\n\telements: [ // The order of elements determines the stack.\n\t\t{\n\t\t\tid: \"e1\" // Element id\n\t\t\ttype: \"line\", // Element type\n\t\t\tdata: [\n\t\t\t\t{\n\t\t\t\t\tx: 0.1,\n\t\t\t\t\ty: 0.3\n\t\t\t\t},\n\t\t\t\t...\n\t\t\t],\n\t\t},\n\t\t{\n\t\t\tid: \"e2\"\n\t\t\ttype: \"points\",\n\t\t\tdata: [\n\t\t\t\t{\n\t\t\t\t\tx: 0.2,\n\t\t\t\t\ty: 0.4,\n\t\t\t\t\tlabel: \"a label\", // Optional\n\t\t\t\t\tincluded: false // Optional, defaults to true\n\t\t\t\t},\n\t\t\t\t...\n\t\t\t]\n\t\t},\n\t\t...\n\t]\n}\n```","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnextbitlabs%2Fplotter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnextbitlabs%2Fplotter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnextbitlabs%2Fplotter/lists"}