Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Test if this is broken

Public visualization

Fork of Test if this is broken

0 stars0🌍 Public
Aangelathacker123
Last edited Feb 17, 2022
Created on Feb 17, 2022

This example visualizes CSS named colors as a radial burst, with each color category rendered as a slice emanating from the center of an SVG canvas. It loads color data from a CSV file using D3’s `csv` utility, then applies the `pie` and `arc` functions from D3 to compute and draw the sector paths. The visualization is built with React components, using hooks like `useState` and `useEffect` to fetch data and re-render once loaded, while D3’s `arc` generator positions each colored path based on the pie layout.

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