Chartist pie chart



Simple Pie Chart

A very simple pie chart with label interpolation to show percentage instead of the actual data series value.

Pie Chart With Custom Labels

This pie chart is configured with custom labels specified in the data object. On desktop we use the labelOffset property to offset the labels from the center. Also labelDirection can be used to control the direction in which the labels are expanding.

Gauge Chart

This pie chart uses donut, startAngle and total to draw a gauge chart.

Donut Chart

Although it'd be also possible to achieve this animation with CSS, with some minor suboptimal things, here's an example of how to animate donut charts using Chartist.Svg.animate and SMIL.