Graph

A bar and pie graph implementation with canvas.

You can edit the code below and execute the changes in real time.

Usage

Include graph.js and call the draw method with some data and configuration.

Bar

Bar graph with one serie

Bar graph with more series

Stacked bar

Pie

Simple pie

Line

Line graph with two series