Skip to main content
100%

Fork of Loading data with React & D3

✓ Published0🌍 Public
SSpyros Armaos
Last edited Jan 22, 2022
Created on Jan 22, 2022

This example shows a full-circle pie chart where each slice represents a CSS named color from a CSV dataset, distributed with equal angular width. The visualization is built with React 16.9 and D3 v7, using `d3.csv` to load the data and `d3.pie` with `d3.arc` to generate the SVG paths. The circle’s fill color is taken directly from each row’s RGB hex value, creating a colorful spectrum that fills the viewport.

AI-generated description

A program that follows your mouse with a circle.

MIT Licensed

Similar vizzes