🌍 Public
Viewing a saved revision (read-only)
dc5818e9be4f4ad6b1acf98b22b68cf6
Fork of Visualization of data using React
This example visualizes data from a remote CSV file as a pie chart, with each slice colored using the `hex` value from the dataset. It uses React hooks (`useState`, `useEffect`) to load the data asynchronously via `d3.csv`, then renders SVG paths computed with `d3.pie` and `d3.arc`. The page also displays file size, row, and column counts by reading the CSV text in the `index.html` script. The chart updates once the data arrives.
AI-generated descriptioncreating a react app, data hangling