Skip to main content
100%

Fork of Rendering Data with React & D3

✓ Published1🌍 Public
Ffjvoris
Last edited Mar 5, 2023
Created on Mar 5, 2023

This visualization displays all CSS named colors as a radial burst of pie slices, with each slice filled by its corresponding hex value. It uses React to manage state and render the SVG, while D3 utilities load the CSV data from a GitHub gist and compute the pie chart geometry. The code employs `d3.csv`, `d3.arc`, and `d3.pie` to fetch and transform the data, and React’s `useEffect` and `useState` handle the asynchronous loading and rendering. The colorful result provides a comprehensive, at-a-glance overview of the color palette.

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