Skip to main content
100%

Rendering data with React & D3

✓ Published1🌍 Public
TThomas Cormican
Last edited Jan 10, 2022
Created on Jan 7, 2022

This visualization renders the CSS named colors dataset as a radial pie chart, with one wedge per color. Using React for the component structure and state management, it loads the CSV via d3.csv and computes arc paths with d3.arc and d3.pie, assigning each slice’s fill from the data’s RGB hex value. The SVG output centers the burst on a 960x500 canvas, displaying a loading message until data arrives.

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!

MIT Licensed

Similar vizzes