{"id":17162106,"url":"https://github.com/thysultan/csscharts.js","last_synced_at":"2026-03-10T12:32:57.787Z","repository":{"id":29489710,"uuid":"33027163","full_name":"thysultan/cssCharts.js","owner":"thysultan","description":"jquery plugin to create donut and bar charts with css","archived":false,"fork":false,"pushed_at":"2016-06-01T07:37:24.000Z","size":78,"stargazers_count":45,"open_issues_count":2,"forks_count":11,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-04-10T07:10:51.895Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://thysultan.com/projects/cssCharts/","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/thysultan.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":"2015-03-28T08:58:27.000Z","updated_at":"2023-11-03T19:19:27.000Z","dependencies_parsed_at":"2022-08-24T07:01:11.400Z","dependency_job_id":null,"html_url":"https://github.com/thysultan/cssCharts.js","commit_stats":null,"previous_names":["sultantarimo/csscharts.js"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thysultan%2FcssCharts.js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thysultan%2FcssCharts.js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thysultan%2FcssCharts.js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thysultan%2FcssCharts.js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thysultan","download_url":"https://codeload.github.com/thysultan/cssCharts.js/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248721011,"owners_count":21151026,"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":[],"created_at":"2024-10-14T22:44:43.994Z","updated_at":"2025-12-12T04:11:52.147Z","avatar_url":"https://github.com/thysultan.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cssCharts.js\njquery plugin to create simple donut, bar or line charts with dom nodes. style with css.\n\n[http://thysultan.com/projects/cssCharts/](http://thysultan.com/projects/cssCharts/)\n\n___\n\n\n###Install with bower\n```\nbower install csscharts\n```\n\n### Include:\n\n```html\n\u003clink rel=\"stylesheet\" href=\"chart.css\"\u003e\n\u003cscript src=\"jquery.chart.js\"\u003e\u003c/script\u003e\n```\n\n### run:\n\n```javascript\n\n$('.bar-chart').cssCharts({type:\"bar\"});\n$('.donut-chart').cssCharts({type:\"donut\"});\n$('.line-chart').cssCharts({type:\"line\"}); \n\n```\n### example donut/pie chart\n\noptional: to trigger countUp counter for the donut chart as seen on the preview page.\n\n```javascript\n$('.donut-chart').cssCharts({type:\"donut\"}).trigger('show-donut-chart');\n```\n\nadd \"pie-chart\" class to .donut-chart if you want to convert it to a pie chart, i.e\n\n```html\n\u003cdiv class=\"donut-chart pie-chart\" data-percent=\"0.61\" data-title=\"uptime %\"\u003e\u003c/div\u003e\n```\n\n- - -\n\n### example line chart\n\n```html\n\u003cul data-cord=\"[x1,x2,x3,x4],[y1,y2,y3,y4]\" class=\"line-chart\"\u003e\u003c/ul\u003e\n$('.line-chart').cssCharts({type:\"line\"});\n```\n\n* insure x cordinates are 0 - ascending.  \n* insure y cordinates are 0 or greater.  \n\n- - -\n\n### example bar chart\n\n```html\n\u003cul class=\"bar-chart\" data-bars=\"[x1,x2],[y1,y2]\" data-max=\"10\" data-unit=\"k\" data-grid=\"1\" data-width=\"24\"\u003e\n$('.bar-chart').cssCharts({type:\"bar\"});\n```\n\n- - - \n\nstyle to your hearts content, see index.html for an example implementation.  \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthysultan%2Fcsscharts.js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthysultan%2Fcsscharts.js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthysultan%2Fcsscharts.js/lists"}