Skip to main content
100%

Fork line chart section 3

✓ Published1🌍 Public
Ssudhamshu24
Last edited Mar 27, 2022
Created on Mar 27, 2022

A fork line chart displays 15 years of automobile production totals, with years on the x-axis and total sales on the y-axis, rendered as a red stroke in an SVG. The chart uses d3.scaleTime and d3.scaleLinear for axes, d3.axisBottom and d3.axisLeft for ticks, and d3.line to generate the path. Data is loaded from a CSV via d3.csv, with years parsed using d3.timeParse. Gridlines are drawn via tickSize, and axis labels are added manually.

AI-generated description
MIT Licensed

Similar vizzes