Overview

Chartist.js is the product of a community that was disappointed about the abilities provided by other charting libraries.

Examples:

HTML Code:

<div class="ct-chart"></div>

JAVASCRIPT Code:

var data = {
	// A labels array that can contain any sort of values
	labels: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri'],
	// Our series array that contains series objects or in this case series data arrays
	series: [
		[5, 2, 4, 2, 6],
		[1, 4, 2, 1, 5],
	]
};

var options = {
	height: 280
}

new Chartist.Line('.ct-chart', data, options);