Description
Chartist is a small JavaScript library for simple, responsive charts drawn as SVG and styled with CSS. It has no canvas and no dependencies, and you control the look with classes and custom properties instead of a theme engine. Charts include lines, bars, side-by-side or stacked bars, donuts, pies and gauges, and you can compose bars and lines in one chart. Responsive behavior works through CSS and through breakpoints, and the library renders anywhere SVG does. Its plugin system lets you extend charts, and the newer packages add tooltips, axis titles, trend lines and a log axis. The site has docs, an API reference, examples, a playground and a credits page. Chartist is open source under the MIT or WTFPL license, and the site says it has been in use since 2014 and is used in many projects. It is aimed at developers who need clean, lightweight charts without a heavy charting framework.…
Highlights
- SVG charts styled with CSS
- Lines, bars, donuts, pies and gauges
- Responsive and composable charts
- No canvas and no dependencies
- Open source under MIT or WTFPL
Ratings & Reviews
No ratings yet
Be the first to rate Chartist.js.
People also visit
Chartist.js FAQ
What is Chartist?
It is a small JavaScript library that draws responsive charts as SVG, styled with CSS.
Which chart types are available?
Lines, bars, side-by-side or stacked bars, donuts, pies and gauges, and composed bar and line charts.
Is it free?
Yes. Chartist is open source under the MIT or WTFPL license.
Can I install it without a build step?
Yes. The site shows a browser example that loads the library from a CDN with a script tag.
What are the best Chartist.js alternatives?
Popular alternatives to Chartist.js include Apexcharts.js, ZoomCharts and Flowchart.js. See all Chartist.js alternatives













