Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

ICE #7 - Area Chart

Public visualization

Viewing a saved revision (read-only)

ce5f855b7b694925b04614d9b70932a0

ICE #7 - Area Chart

0 stars0🌍 Public
KKevin Raj
Last edited Mar 30, 2023
Created on Mar 30, 2023
Forked from Area Death's

This area chart visualizes global smartphone sales from 2007 to 2021 using CSV data containing yearly sales figures. The chart employs D3 v5 APIs such as `scaleTime`, `scaleLinear`, `axisBottom`, `axisLeft`, and the `area` generator with `curveBasis` to render an orange-filled region beneath the sales trend line. The SVG output includes labeled axes, a red title, and purple axis labels, with sales formatted in billions. Data is loaded asynchronously via `d3.csv` and rendered using a margin-based layout.

AI-generated description