Fork of Loading data with React & D3
✓ Published0🌍 Public
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 descriptionA program that follows your mouse with a circle.
MIT Licensed