Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Rendering CSS Named Colors - Arc

Public visualization

Viewing a saved revision (read-only)

acb93ac035d5416fa87e7aaeedef396a

Rendering CSS Named Colors - Arc

0 stars1🌍 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.