Fork of Rendering Data with React & D3
✓ Published0🌍 Public
This example renders a dataset of CSS named colors as a radial burst of pie slices, with each slice filled by its corresponding hex value. It combines React for component structure and state management with D3 utilities (`csv`, `arc`, `pie`) for data loading and shape generation, outputting to SVG. The code loads the color data from a GitHub Gist, and includes a static Plotly scatter plot as an unrelated side element. A loading state displays text until the asynchronous CSV fetch completes.
AI-generated descriptionA program that loads in some data about CSS named colors using D3 utilities, and uses React to render the data as a radial burst!
MIT Licensed