Fork of ICE 7 Line Chart
✓ Published0🌍 Public
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 descriptionMIT Licensed