Skip to main content
100%

Fork of Visualization of data using React

✓ Published1🌍 Public
Aamulyakannam
Last edited Jun 23, 2022
Created on Jun 23, 2022

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 description

creating a react app, data hangling

MIT Licensed

Similar vizzes