Skip to main content
100%

Fork of HTML Starter

✓ Published1🌍 Public
JJYK
Last edited Mar 6, 2021
Created on Feb 28, 2021
Forked from HTML Starter

This example visualizes all CSS named colors as two pie charts rendered in SVG. The left chart uses a ring arc for each color, while the right chart employs the `d3.pie` layout to proportionally distribute slices. The React app fetches a CSV file of CSS color names and hex values, then maps each row to a filled `<path>` element. The visualization contrasts manual angle calculations with D3's pie layout API, both powered by React's state management and D3's `arc` and `pie` functions.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

This is css named colors

See also React Starter.

MIT Licensed

Similar vizzes