🌍 Public
Viewing a saved revision (read-only)
949f12fd6b1c49d2b6d3f3ff8bdf7a66
Fork of React & D3 Starter
This example shows a line chart of monthly sales figures using an SVG rendered with D3 v7. The visualization plots sales data from a CSV file, adding red circular markers for each data point and a green line to connect them. The code uses D3’s `scalePoint` and `scaleLinear` for axes, `line` for the path, `axisBottom` and `axisLeft` for ticks, and `csv` to load the data.
AI-generated description