🌍 Public
Viewing a saved revision (read-only)
3c321f070d05406d84476f66ab3c5e7e
temp
This example visualizes daily e-commerce sales amounts as a time-series line chart, with dates on the x-axis and sales values on the y-axis. The SVG chart is built using D3 v7, loading CSV data via `d3.csv` and parsing dates with `d3.timeParse`. It uses `d3.scaleTime` and `d3.scaleLinear` to map data to positions, `d3.line` to generate the path, and `d3.axisBottom` and `d3.axisLeft` to render the axes. The data is sourced from a GitHub gist, rendered within a bordered container.
AI-generated description