🌍 Public
Viewing a saved revision (read-only)
02995c6dcf9347798c42c8de5180ebe7
Loading Data with React and D3
This example shows a donut chart where each slice represents a color from a CSV file. The chart is generated by loading the data with `d3.csv`, then computing the pie slices with `d3.pie` and `d3.arc`. Hovering over a slice displays the color name below the SVG. The visualization is built with React, using `useState` and `useEffect` to manage the asynchronous data loading and rendering.
AI-generated descriptionA bare minimum HTML page.