Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Renderizando Datos

Public visualization

Viewing a saved revision (read-only)

dfcae624590f46ae8defd6d489838dce

Fork of Renderizando Datos

0 stars0🌍 Public
CCatalina Araya
Last edited Jul 8, 2021
Created on Jul 8, 2021
Forked from Renderizando Datos

This visualization presents CSS named colors as a pie chart, with each slice filled using the exact hex value from the dataset. It loads data from a remote CSV file using the `csv` function from D3, and manages that data with React’s `useState` and `useEffect` hooks. The chart is rendered as an SVG, with each color slice generated by the `arc` generator from D3 to create pie path geometry.

AI-generated description

A program that loads in some data about CSS named colors using D3 utilities, and uses React state to keep track of the data.