All examples By author By category About

radiocontrolled

Doughnut chart with labels & colour scale

This is a basic doughnut chart drawn using D3.js.

Each slice of the chart is labelled, scaled and coloured according to its value in the dataset.

This chart makes use of D3.js features such as categorial color scales and the pie layout.