Skip to main content
100%

Fork of Rendering Data with React & D3

✓ Published0🌍 Public
VVictor Henriquez
Last edited Sep 22, 2022
Created on Sep 22, 2022

This example displays a pie chart of CSS named colors, where each slice is filled with the exact color it represents. Using D3 utilities `d3.csv`, `d3.pie`, and `d3.arc`, it loads color data from a GitHub gist and computes the pie geometry. React 16 with hooks manages the asynchronous data loading and renders the resulting SVG paths. The visualization shows all CSS colors arranged in a full circle around a central point.

AI-generated description

A program that loads in some data about CSS named colors using D3 utilities, and uses React to keep render the data.

MIT Licensed

Similar vizzes