π Public
Viewing a saved revision (read-only)
bc3a0a1d6ccf4a6b944a50f4cc9d4b71
line chart
This example shows cosmetics sales totals over a series of years, with a red line tracing the trend across a time-based x-axis and a linear y-axis. The visualization uses D3 v5 with an SVG rendering approach, employing `scaleTime` and `scaleLinear` to map data, `axisBottom` and `axisLeft` for gridlines, and the `line` generator to create the path. Data is loaded as CSV from a GitHub gist, with dates parsed using `d3.timeParse`.
AI-generated description