π Public
Viewing a saved revision (read-only)
0e41438b325f4cc6b0107c101b376fc6
nitish line chart ice-7
This example shows a line chart of sales data over time, plotting yearly sales figures across a continuous time scale. The SVG rendering uses D3 v5 with `scaleTime` for the x-axis, `scaleLinear` for the y-axis, and a `line` generator to draw the dark green path. Data is loaded as CSV from a GitHub gist, with dates parsed via `d3.timeParse` and sales values converted to numbers. Axes are styled with custom ticks, red labels, and grid lines.
AI-generated description