Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of ICE 7 Line Chart

Public visualization

Fork of ICE 7 Line Chart

0 stars0🌍 Public
Bblikitha
Last edited Mar 28, 2022
Created on Mar 28, 2022
Forked from ICE 7 Line Chart

This example visualizes smartphone sales in millions from 2012 to 2021 as a blue line chart with axes and labels. The chart uses D3 v5 APIs including `scaleTime`, `scaleLinear`, `line`, `axisBottom`, and `axisLeft` to map the data and render SVG elements. Data is loaded asynchronously from a GitHub CSV URL using `csv`, with sales converted to numeric values and years parsed as dates. The visualization includes a purple title, blue axis labels in Times New Roman, and a grid formed by tick lines.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed