Fork of Rendering Data with React & D3
✓ Published0🌍 Public
This example displays a radial burst of CSS named colors as a circular pie chart, with each color’s name and hex value represented by a slice. It loads data from a CSV file using d3.csv, then constructs the pie layout with d3.pie and arc generator d3.arc. React manages the component state via useState and useEffect, rendering the loading message while the data is fetched. The visualization relies on React 16.9, D3 v5, and a custom SVG layout within a 960×500 viewport, though only the initial loading screen is shown in the provided code.
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