Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

ICE 7-3 Line Chart

Public visualization

ICE 7-3 Line Chart

0 stars1🌍 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

Comments

Sign in to join the discussion.

MIT Licensed