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)

058a43619f5146f6b947bf8df5dc37b1

Fork of Rendering Data with React & D3

0 stars0🌍 Public
SSam(Hessamoddin) Kaveh
Last edited Mar 22, 2021
Created on Mar 22, 2021

This visualization displays 148 CSS named colors as a radial burst, with each color represented as a wedge in a pie chart. The example uses React to manage the asynchronous loading of color data from a CSV file hosted on GitHub, while D3’s `pie`, `arc`, and `csv` utilities calculate the arc paths and parse the data. The active chart renders an SVG with each path filled by its corresponding hex value, demonstrating a seamless integration of React’s state management with D3’s geometric computations.

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!