Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Area Chart Activity 8

Public visualization

Area Chart Activity 8

0 stars0🌍 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.

Comments

Sign in to join the discussion.

MIT Licensed