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
Bbhargavarathod
Last edited Mar 28, 2022
Created on Mar 28, 2022
Forked from ICE 7 Line Chart

This example visualizes the sales of cars in India from 2009 to 2019 using a line chart drawn with SVG. The chart displays a single time-series line, with the x-axis representing the year and the y-axis showing the total sales figures, both styled with a red theme. The visualization uses D3 v5’s `scaleTime`, `scaleLinear`, `axisBottom`, `axisLeft`, and `line` functions to generate the plot, reading data from a CSV file hosted on GitHub. Grid lines and axis labels are styled using CSS, and the line is highlighted with a 4-pixel-wide stroke.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed