{"id":13402743,"url":"https://github.com/zachleat/artificial-chart","last_synced_at":"2026-03-11T03:01:48.611Z","repository":{"id":50904492,"uuid":"423518778","full_name":"zachleat/artificial-chart","owner":"zachleat","description":"An SVG charting library based on D3.js","archived":false,"fork":false,"pushed_at":"2022-08-04T14:05:10.000Z","size":30,"stargazers_count":16,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-05T09:44:39.993Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/zachleat.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}},"created_at":"2021-11-01T15:33:32.000Z","updated_at":"2024-09-21T21:24:51.000Z","dependencies_parsed_at":"2022-09-24T23:02:38.964Z","dependency_job_id":null,"html_url":"https://github.com/zachleat/artificial-chart","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/zachleat/artificial-chart","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zachleat%2Fartificial-chart","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zachleat%2Fartificial-chart/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zachleat%2Fartificial-chart/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zachleat%2Fartificial-chart/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zachleat","download_url":"https://codeload.github.com/zachleat/artificial-chart/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zachleat%2Fartificial-chart/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30368540,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-10T21:41:54.280Z","status":"online","status_checked_at":"2026-03-11T02:00:07.027Z","response_time":84,"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":[],"created_at":"2024-07-30T19:01:20.271Z","updated_at":"2026-03-11T03:01:48.576Z","avatar_url":"https://github.com/zachleat.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# artificial-chart\n\nThe SVG D3.js based charting solution used for the Jamstack Community Survey.\n\n## [Demo](https://zachleat.github.io/artificial-chart/demo.html)\n\nAll of the charts are viewable on https://jamstack.org/survey/2021/\n\n## Features\n\n* Responsive Web Design friendly charts\n* Progressive-enhancement friendly, draws data from HTML tables. Warning: does not include a No-JS visual view.\n* Horizontal and vertical bar chart type\n  * Supports grouped data visualized side by side or stacked.\n  * Supports proportional data (scaling to 100%)\n  * Option to show inline labels inside or outside of the bars.\n* Bubble chart type\n* Styles nicely with gradients\n* Customizable margins\n* Wrapping on axis labels\n* Supports customized label precision\n* Supports auto-generated HTML legends (outside of the SVG).\n* Uses IntersectionObserver and ResizeObserver (when available) for better performance on initialization and resize.\n\n## Changelog\n\n* `v2.0.0` swap to ESM\n\n## Usage\n\n```js\nimport \"https://d3js.org/d3.v7.min.js\";\n\nimport { HorizontalBar, VerticalBar, Bubble } from \"./artificial-chart.js\";\n\nnew VerticalBar(\"chart-id\", \"source-table-id\", {\n  showInlineBarValues: \"outside\",\n});\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzachleat%2Fartificial-chart","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzachleat%2Fartificial-chart","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzachleat%2Fartificial-chart/lists"}