Build an Area Chart with D3 v4

Share this video with your friends

Send Tweet

Similar to line charts, area charts are great for displaying temporal data. Whether you’re displaying a single set of data or multiple sets using an overlapping or stacked layout, D3 provides APIs to make the process straightforward. This lesson walks you through creating multiple layouts easily.

Shaun
~ 7 years ago

Minor thing, but can just do .curve(d3.curveCatmullRom) since the default alpha is 0.5.