Skip to main content
100%

ICE 7 - Line Chart

✓ Published1🌍 Public
DDaniel Mata
Last edited Apr 1, 2022
Created on Mar 25, 2022
Forked from Hello VizHub

This line chart visualizes the total daily streams of the song “Shape of You” on Spotify throughout 2017, with the y-axis scaled in millions for readability. The red polyline shows the trend over time, supported by a time-based x-axis and numeric y-axis with gridlines. Built with D3 v7 in a React context, the code loads a CSV dataset, parses dates using `d3.timeParse`, and renders axes and the line via SVG paths. Gridlines are generated using `d3.axisBottom` and `d3.axisLeft` with custom tick formatting.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes