🌍 Public
Viewing a saved revision (read-only)
26268b74cd5d45bd86fb1099b7b65d37
Fork of React Starter
This example renders a radial area chart in an SVG using React and D3 v7. It visualizes temperature or similar data over time, with the area’s inner and outer radii scaled by two values (`minmin` and `maxmax`) per date. The chart uses `d3.areaRadial()`, `d3.lineRadial()`, `d3.scaleTime()`, and `d3.scaleLinear()` to map dates to angles and values to radii. It listens to window resize events, recalculating the chart’s dimensions and re-rendering it to remain responsive within its container.
AI-generated descriptionReact Starter code.