Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

UN Population Data

Public visualization

UN Population Data

0 stars0🌍 Public
PPadoSensei
Last edited Mar 19, 2021
Created on Mar 19, 2021

This visualization displays all named CSS colours from the MDN Colour List as a single large pie chart. Each slice is drawn using D3’s `pie` and `arc` generators, with the slice fill set directly from the colour’s hex value in the data. The chart is rendered as SVG within a React component, using React hooks to load the CSV data asynchronously via D3’s `csv` function. The entire pie occupies the full width of the viewport, emphasizing the full spectrum of colour names.

AI-generated description

Loads Named Colours in CSS data using D3 and visualises with React. Data from MDN Colour List

Comments

Sign in to join the discussion.

MIT Licensed