Skip to main content
100%

MDN: CSS Color Wheel

✓ Published1🌍 Public
JJohn Lewis
Last edited Nov 1, 2021
Created on Oct 31, 2021

This example renders a radial burst of all named CSS colors as a pie chart, with each slice filled by its corresponding hex value. The visualization uses React to manage state and render the SVG, while D3 v7’s `csv` loader fetches the color data from a GitHub gist and `pie` and `arc` compute the slice geometry. The chart fills the entire viewport, with slices radiating from the center to the window’s edge.

AI-generated description

A program that uses data to render a radial burst visualization of all the named colors in CSS.

MIT Licensed

Similar vizzes