Skip to main content
100%

Fork of rendering data with react

✓ Published0🌍 Public
Nnexus1058
Last edited Jan 30, 2021
Created on Jan 29, 2021

This example visualizes the CSS named colors as a pie chart, with each slice filled by the color it represents. The code loads color data from a GitHub gist using `d3.csv`, then computes the pie layout with `d3.pie` and renders the arcs via `d3.arc` as SVG paths. React manages the loading state and renders the chart, displaying a loading message until the data arrives.

AI-generated description

a program that loads in same data about css named colors using d3 utilities and uses React state to render the data

MIT Licensed

Similar vizzes