Skip to main content
100%

Fork of Fork of ICE 7 Line Chart

✓ Published0🌍 Public
Nnagamaheswar
Last edited Mar 27, 2022
Created on Mar 27, 2022

This example shows annual car sales in the United States from 2010 to 2019 as a single red line chart. The x-axis represents the year, parsed with `d3.timeParse`, and the y-axis shows the number of cars sold. Using D3 v5 with SVG, the code loads CSV data from a GitHub gist, scales the axes with `scaleTime` and `scaleLinear`, and draws the line with `line()`. Grid lines are rendered via axis ticks, with red and blue axis labels and a bold title.

AI-generated description
MIT Licensed

Similar vizzes