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