Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Rendering data with React & D3

Public visualization

Rendering data with React & D3

0 stars1🌍 Public
LLove Wessman
Last edited Jan 20, 2022
Created on Jan 20, 2022

A radial burst of CSS named colors is rendered as an SVG pie chart, with each slice colored by its RGB hex value from a CSV dataset loaded via `d3.csv`. React manages the component state and lifecycle, while D3's `pie` and `arc` generators compute the slice angles and paths. The chart uses `ReactDOM.render` to mount the SVG, and D3 v7 and React 17 are loaded from CDNs.

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