Fork of Rendering Data with React & D3
✓ Published0🌍 Public
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 descriptionA program that loads in some data about CSS named colors using D3 utilities, and uses React to keep render the data.
MIT Licensed