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
OOleksii
Last edited Aug 16, 2021
Created on Aug 16, 2021

This example displays a radial burst visualization of CSS named colors, where each color is represented as a slice of a pie chart. The React app loads color data from a CSV file using D3’s `csv` utility, then renders the chart as SVG paths via React. Using D3’s `pie` function to compute arc angles and `arc` to generate path data, each slice’s fill is set from the `RGB hex value` column. The visualization is rendered entirely through React’s declarative component model, with D3 v5 providing data parsing and geometric calculations.

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