Skip to main content
100%

ICE 7-3 Line Chart

✓ Published1🌍 Public
EEshwarreddyt
Last edited Mar 12, 2023
Created on Mar 12, 2023
Forked from ice7

This example visualizes bike sales in India from 2012 to 2022 using a line chart rendered as an SVG. It loads a CSV dataset, parses the year and sales values, and uses `d3.scaleTime` and `d3.scaleLinear` to map the data to axes. The chart draws a single line with `d3.line`, applies grid lines via `axisBottom` and `axisLeft`, and includes labeled axes with custom formatting. The code uses D3 v5 modules imported directly, and styling is applied through an external CSS file.

AI-generated description
MIT Licensed

Similar vizzes