Fork of Ep20 Visualizing with React D3 tryPie
✓ Published1🌍 Public
GGordon Yang
Last edited Apr 7, 2021
Created on Apr 7, 2021
Forked from Ep20 Visualizing with React D3 tryArc refactor
A pie chart displays the CSS named colors as equal-sized slices, each filled with its corresponding RGB hex value. The visualization loads color data from a CSV gist using `d3.csv` and renders slices with `d3.pie()` and `d3.arc()` inside a React component. The chart uses React hooks for state management and renders SVG paths within a centered group, with D3 v6 handling the data-to-geometry transformation.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed