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
CChavaP06
Last edited Jul 8, 2021
Created on Jul 8, 2021

A radial burst of CSS named colors loads data from a CSV file via D3’s `csv` utility, then renders each color as a horizontal bar using React’s `useState` and `useEffect` hooks. The visualization displays every color sequentially, with each div’s background set to its `RGB hex value` and fixed dimensions. Although it imports `arc` and `pie` from D3, the current code renders simple stacked bars rather than a pie chart. The example demonstrates a minimal React-D3 integration, where D3 handles data fetching while React manages the DOM updates.

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