Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Loading data with React & D3

Public visualization

Fork of Loading data with React & D3

0 stars0🌍 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.

Comments

Sign in to join the discussion.

MIT Licensed