C3.js | D3-based reusable chart library
Menu
Getting Started
Examples
Reference
Forum
Source
Area Chart
# chart_area.js
var chart = c3.generate({ data: { columns: [ ['data1', 300, 350, 300, 0, 0, 0], ['data2', 130, 100, 140, 200, 150, 50] ], types: { data1: 'area', data2: 'area-spline' } } });