Skip to main content
100%

Fork of Rendering data with react

✓ Published1🌍 Public
EElliot Hill
Last edited Jul 8, 2021
Created on Jul 8, 2021

This visualization displays CSS named colors as a pie chart. It loads a CSV file of color names and hex values using `d3.csv`, then applies `pie` from d3 to arrange the data and `arc` to render each slice as an SVG path. The React app uses `useState` and `useEffect` to fetch data asynchronously and `ReactDOM.render` to draw the chart.

AI-generated description

Loading data with d3

MIT Licensed

Similar vizzes