Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Visualising Data With React

Public visualization

Visualising Data With React

0 stars1🌍 Public
JJames Rhodes
Last edited Feb 13, 2022
Created on Feb 13, 2022

A colorful pie chart displays the full set of MDN CSS color names as equal-width slices, each filled with its corresponding RGB hex value. Built with React and D3 v7, the app fetches CSV data via `d3.csv` and computes the pie layout with `d3.pie` and `d3.arc`, rendering SVG `<path>` elements inside a React component using hooks for state and effects.

AI-generated description

Example of visualising data using React and D3

data MDN: CSS Colors

Comments

Sign in to join the discussion.

MIT Licensed