Skip to main content
100%

Rendering CSS Named Colors - Arc

✓ Published1🌍 Public
Ppranav-vis
Last edited Sep 5, 2021
Created on Sep 5, 2021

The visualization displays all CSS named colors as a full circular arc chart, with each color occupying a wedge proportional to its position in the dataset. It uses React to manage state and render SVG paths, while D3 v7 handles data loading via `d3.csv` and arc generation through `d3.arc`. The data comes from a GitHub-hosted CSV file of named colors and their RGB hex values, which directly sets each path’s fill. The chart initially shows a loading message until the data arrives.

AI-generated description

Rendering CSS named colors from MDN.

MIT Licensed

Similar vizzes