Skip to main content
100%

Rendering data with React and D3

✓ Published1🌍 Public
PPriteshlip10
Last edited Aug 7, 2021
Created on Aug 7, 2021

This example renders CSS named colors as a sunburst-style pie chart, where each slice represents one color with its own hexadecimal fill. Built with React and D3 v7, it loads data from a CSV URL using `d3.csv` and draws the visualization with SVG paths generated by `d3.pie` and `d3.arc`. The React component manages state for the loaded data and conditionally displays a loading message, while the final chart uses a pie layout with equal values to distribute slices around the center.

AI-generated description

A program that loads in some data about CSS named Colors using some d3 utilities and uses React render the data as a radio burst

MIT Licensed

Similar vizzes