Fork of Fork of ICE 7 Line Chart
✓ Published1🌍 Public
This example visualizes car sales in India from 2009 to 2019 using a single line chart. The chart plots sales figures against parsed dates, with red grid lines and a red line path connecting annual data points. The visualization uses d3.csv to load data from a GitHub gist, d3.scaleTime and d3.scaleLinear for axes, and d3.line to generate the SVG path. It employs d3.axisBottom and d3.axisLeft with tick marks removed from the domain to create sparse gridlines. The chart is rendered entirely as SVG with custom CSS styling for text, ticks, and the line stroke.
AI-generated descriptionMIT Licensed