Skip to main content
100%

Fork of Rendering Data with React & D3

✓ Published0🌍 Public
Ddleoenri
Last edited Apr 20, 2022
Created on Apr 20, 2022

This example visualizes the CSS named colors dataset as a radial burst, with each color occupying an equal-sized slice of a pie chart. The visualization uses React for component rendering and state management, while D3 v5 utilities like `csv`, `arc`, and `pie` handle data loading and geometric calculations. The `arc` generator with an outer radius equal to the full width creates the pie-shaped paths, which are rendered as SVG elements with fill colors directly from the hex values in the dataset.

AI-generated description

A 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

Similar vizzes