π Public
Viewing a saved revision (read-only)
a704a5ac29ee406b94c82fa3973db16f
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