# cssCharts.js jquery plugin to create simple donut, bar or line charts with dom nodes. style with css. [http://thysultan.com/projects/cssCharts/](http://thysultan.com/projects/cssCharts/) ### Include: ```html ``` ### run: ```javascript $('.bar-chart').cssCharts({type:"bar"}); $('.donut-chart').cssCharts({type:"donut"}); $('.line-chart').cssCharts({type:"line"}); ``` ### example donut/pie chart optional: to trigger countUp counter for the donut chart as seen on the preview page. ```javascript $('.donut-chart').cssCharts({type:"donut"}).trigger('show-donut-chart'); ``` add "pie-chart" class to .donut-chart if you want to convert it to a pie chart, i.e ```html
``` - - - ### example line chart ```html $('.line-chart').cssCharts({type:"line"}); ``` * insure x cordinates are 0 - ascending. * insure y cordinates are 0 or greater. - - - ### example bar chart ```html