Skip to main content
100%

Rendering Data with React & D3

✓ Published1🌍 Public
CChiedu Egbumokei Jr
Last edited Dec 26, 2021
Created on Dec 21, 2021
Forked from Mouse Follower

This example creates an interactive donut chart from a CSV file containing CSS named colors, loading the data with d3.csv and rendering each color as an SVG path. The React component manages the data loading state, while D3’s pie() layout and arc() generator compute the angular positions and path geometry. Each slice is filled with its corresponding hex value from the dataset, producing a colorful circular visualization of named colors.

AI-generated description

A program that follows your mouse with a circle.

MIT Licensed

Similar vizzes