Skip to main content
100%

Fork of Rendering data with react and d3 Xizhi

✓ Published0🌍 Public
XXizhiW
Last edited Jan 16, 2022
Created on Jan 16, 2022

This example renders the CSS named colors dataset as a pie chart using React and D3 v7. The visualization loads CSV data via `d3.csv` and displays each color as a slice with its fill set to the `RGB hex value`. React manages state and renders SVG paths, while D3’s `pie` and `arc` generators compute the angles and geometry. A text overlay reports the data size in kilobytes, row count, and column count using `d3.csvFormat`.

AI-generated description

loads data with d3 and react data about CSS named Colors

MIT Licensed

Similar vizzes