Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Fork of HTML Starter 2

Public visualization

Viewing a saved revision (read-only)

3766040f4a1b4780b20d52879736fbe2

Fork of Fork of HTML Starter 2

0 stars1🌍 Public
LLeonardo Baron
Last edited Jan 13, 2023
Created on Jan 13, 2023

This visualization displays the CSS named colors as a pie chart, with each slice colored by its corresponding hex value and sized equally. The chart uses React to manage the async loading of CSV data from a GitHub gist, while d3’s `arc` and `pie` generators compute the SVG paths. The rendering leverages React DOM to mount the SVG elements, and the dataset contains 148 rows of color names and hex codes.

AI-generated description

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

See also React Starter.