Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Rendering Data with React & D3

Public visualization

Viewing a saved revision (read-only)

1c068742daca4ba79b5ac8e987c49833

Fork of Rendering Data with React & D3

0 stars1🌍 Public
SSergey Shulzhenko
Last edited May 26, 2023
Created on May 26, 2023

This radial burst visualization displays all CSS named colors as slices of a pie chart, using each color’s RGB hex value to fill its corresponding slice. The code loads color data from a CSV file via `d3.csv`, then uses `d3.pie` and `d3.arc` to compute the slice geometry, while React manages the component state and renders the SVG paths. The visualization demonstrates a React–D3 integration where D3 handles data loading and layout calculations, and React performs the DOM rendering.

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!