🌍 Public
Viewing a saved revision (read-only)
6be2e5c4e2144cc4825bfe8938192c9c
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