{"id":27152808,"url":"https://github.com/taenykim/interactive-chart","last_synced_at":"2025-06-24T07:07:47.266Z","repository":{"id":57275124,"uuid":"301964231","full_name":"taenykim/interactive-chart","owner":"taenykim","description":"📈 📉 push datas and make interactive chart 📊","archived":false,"fork":false,"pushed_at":"2020-10-22T09:03:40.000Z","size":1037,"stargazers_count":7,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-04T06:52:49.654Z","etag":null,"topics":["canvas","chart","interactive","javascript","line-chart","pie-chart","svg"],"latest_commit_sha":null,"homepage":"https://interactive-chart.vercel.app","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/taenykim.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}},"created_at":"2020-10-07T07:52:01.000Z","updated_at":"2023-03-04T04:32:17.000Z","dependencies_parsed_at":"2022-09-15T19:11:39.702Z","dependency_job_id":null,"html_url":"https://github.com/taenykim/interactive-chart","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/taenykim/interactive-chart","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taenykim%2Finteractive-chart","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taenykim%2Finteractive-chart/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taenykim%2Finteractive-chart/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taenykim%2Finteractive-chart/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/taenykim","download_url":"https://codeload.github.com/taenykim/interactive-chart/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taenykim%2Finteractive-chart/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259893619,"owners_count":22928007,"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","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":["canvas","chart","interactive","javascript","line-chart","pie-chart","svg"],"created_at":"2025-04-08T15:55:41.048Z","updated_at":"2025-06-24T07:07:47.199Z","avatar_url":"https://github.com/taenykim.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Interactive Chart\n\n![npm](https://img.shields.io/npm/v/interactive-chart)\n![dependencies](https://img.shields.io/badge/dependencies-none-brightengreen)\n\n📈 📉 push datas and make interactive chart 📊\n\n## Demo\n\nhttps://interactive-chart.vercel.app/\n\n## Charts\n\n|Line Chart `canvas`|Pie Chart `svg`|\n|--|--|\n|![](./images/screenshot.png)|![](./images/screenshot2.png)|\n| drag / move / resize / minimap / tooltip | hovering / highlighting / information circle|\n\n\n## How to use\n\n```bash\nnpm i interactive-chart\n```\n\n```js\n// Line Chart\nnew Line({\n  selector: \"root\", // DOM element id,\n  chartTitle: \"Accountbook Line Chart\", // chart title\n  data, // chart data\n});\n\n// Pie Chart\nnew Pie({\n  selector: \"root\", // DOM element id,\n  chartTitle: \"Accountbook Line Chart\", // chart title\n  data, // chart data\n  offsetMonth: 11 // current focusing month\n});\n```\n\n```json\n// data type\n[\n  {\n    \"month\": 11,\n    \"data\": [\n      {\n        \"date\": 1,\n        \"data\": [\n          { \"type\": \"용돈\", \"amount\": 3000 },\n          { \"type\": \"생활\", \"amount\": -30000 },\n          { \"type\": \"쇼핑/뷰티\", \"amount\": -10000 }\n        ]\n      },\n      {\n        \"date\": 2,\n        \"data\": [\n          { \"type\": \"생활\", \"amount\": -30000 },\n          { \"type\": \"식비\", \"amount\": -50000 },\n          { \"type\": \"월급\", \"amount\": 5000 }\n        ]\n      },\n      ...\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftaenykim%2Finteractive-chart","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftaenykim%2Finteractive-chart","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftaenykim%2Finteractive-chart/lists"}