Skip to main content
100%

Area Chart Activity 8

✓ Published0🌍 Public
Ppvreswar7@gmail.com
Last edited Jul 2, 2023
Created on Jul 2, 2023
Forked from D3 Starter

This area chart visualizes the cost of sales from 2000 to 2013, using a smooth curved line and a light green filled area beneath it. The visualization employs D3 v5 with an SVG rendering approach, using `scaleTime` and `scaleLinear` for the axes, and `area` and `line` generators with `curveBasis` to create the smooth shapes. Data is loaded from a CSV file via `d3.csv`, with the year parsed as a date and cost as a numeric value. The chart includes styled tick labels, a titled axis, and a custom axis label format.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes