Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Rendering Data with React & D3

Public visualization

Fork of Rendering Data with React & D3

0 stars0🌍 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!

Comments

Sign in to join the discussion.

MIT Licensed