Examples

This page contains a collection of examples for various C3 visualizations. They start with simple tables and static plots and build to more complex examples with multiple linked vizualizations of multivariate datasets. Click on the example names in the left navigation pane to view the example. The HTML and annotated source code for each example is also hosted for viewing. The examples are written in TypeScript which, for these examples, should basically look like JavaScript with some occasional type annotations. A full c3.d.ts type definition file is provided for those wishing to use TypeScript, however JavaScript, CoffeeScript, or any other compatible language may be used. The only dependencies used by these examples are D3, and some examples may also include jQuery, Crossfilter, and an ES6 Promises polyfill.
Back to C3 Documentation.

API Overview
API Documentation