Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Area chart

Public visualization

Area chart

0 stars1🌍 Public
Ssriram.official9@gmail.com
Last edited Mar 25, 2024
Created on Mar 25, 2024

This area chart shows the total annual iPhone sales over time, with a single steelblue filled path representing the sales trend. The visualization loads data from a remote CSV file, aggregates the quarterly figures per year, and uses D3 v7’s `d3.area()` generator to create the shape. Axes are added with `d3.axisBottom` and `d3.axisLeft`, while time and linear scales (`d3.scaleTime`, `d3.scaleLinear`) map years and sales values. The SVG rendering includes labeled axes for clarity.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed