C3.js 是一个基于 D3.js 的可复用的开源图表库。具有易于使用、完全可定制性和可控制的特性。支持多种图表类型。
C3 makes it easy to generate D3-based charts by wrapping the code required to construct the entire chart. We don't need to write D3 code any more.
C3 gives some classes to each element when generating, so you can define a custom style by the class and it's possible to extend the structure directly by D3.
C3 provides a variety of APIs and callbacks to access the state of the chart. By using them, you can update the chart even if after it's rendered.
Simple XY Line ChartView details »
Multiple XY Line ChartView details »
Line Chart with RegionsView details »
Combination ChartView details »