Description
Chartkick.js creates charts with one line of JavaScript. You add a div for the chart and call one function with your data, and it draws the chart with the charting library you choose. It supports Chart.js, Google Charts and Highcharts. The README also mentions versions for React, Vue.js, Ruby, Python, Elixir and Clojure. The quick start sets it up with Chart.js, and the README gives detailed instructions for the other libraries. Supported chart types include line, pie, column, bar, area and scatter charts, plus geo and timeline charts through Google Charts. Multiple series can be stacked or grouped with Chart.js or Highcharts. Data can be an array, an object, a callback or a URL, and the README suggests giving each chart its own endpoint so pages load fast. Options cover the y-axis minimum and maximum, colours, stacked columns, axis titles, straight lines, hidden points, legend position and donut charts. Number formatting includes prefixes and suffixes, thousands and decimal separators, and significant digits. For maps, the README points to Mapkick.js. The project is public on GitHub.…
Highlights
- Charts from one line of JavaScript
- Works with Chart.js, Google Charts and Highcharts
- Line, pie, column, bar, area and scatter charts
- Data from arrays, objects, callbacks or URLs
- Options for axes, colours, legends and number formats
Ratings & Reviews
No ratings yet
Be the first to rate chartkick.
People also visit

@amcharts/amcharts5
JavaScript and TypeScript charts and maps: XY, pie, map, stock, Gantt
chartkick FAQ
What is Chartkick.js?
A JavaScript library that creates charts with one line of code. It draws them with the charting library you choose.
Which charting libraries does it use?
Chart.js, Google Charts and Highcharts. The quick start uses Chart.js, and the README has instructions for the others.
Where does the chart data come from?
An array, an object, a callback or a URL. For URLs, the README suggests giving each chart its own endpoint.
Which chart types are supported?
Line, pie, column, bar, area and scatter charts, plus donut charts, and geo and timeline charts through Google Charts.
Is there a version for my framework?
The README mentions versions for React, Vue.js, Ruby, Python, Elixir and Clojure. For maps, it points to Mapkick.js.
What are the best chartkick alternatives?
Popular alternatives to chartkick include chartist, frappe-charts and @amcharts/amcharts5. See all chartkick alternatives
















