D3 Color pie
✓ Published1🌍 Public
This example visualizes the 148 named CSS colors as a single pie chart, where each slice represents one color and is filled with that color's RGB hex value. The chart is rendered using React and D3 v5, with data loaded from a CSV file hosted on GitHub. The pie layout is computed with `d3.pie()` using a constant value of 1 per row, and each slice is drawn as an SVG path via `d3.arc()`, centered within a predefined 960×480 viewport.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed