🌍 Public
Viewing a saved revision (read-only)
c76625d7a3b240538945e3157eec1b08
Rendering Data with React & D3
This example visualizes the CSS named colors dataset as a radial burst by rendering each color as a thin horizontal strip. React manages the application state and component rendering, while D3’s `csv` utility loads the data from a remote gist URL. The visualization displays all colors in a single column of stacked 4-pixel-high divs, with each div’s background set to the corresponding hexadecimal value from the dataset.
AI-generated descriptionA program that loads in some data about CSS named colors using D3 utilities, and uses React to render the data as a radial burst!