Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Area Chart for ICE 7

Public visualization

Viewing a saved revision (read-only)

e4a35f55fa044ab9984db8a46933689c

Fork of Area Chart for ICE 7

0 stars1🌍 Public
Eeravellisaimeghana
Last edited Mar 29, 2022
Created on Mar 29, 2022

This visualization displays car sales from 2001 to 2010 as a smooth, magenta-filled area chart with time-based x-axis and linear y-axis scales. Built with D3 v5, it uses `scaleTime`, `scaleLinear`, `area` with `curveBasis`, and `axisBottom`/`axisLeft` to render the SVG output. The data is loaded from a CSV file via `csv`, with year values parsed into JavaScript `Date` objects and sales figures converted to numbers before generating the chart.

AI-generated description