Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Rendering Data with React

Public visualization

Viewing a saved revision (read-only)

ebd791a7b0994f0d8c09021bc75009dc

Fork of Rendering Data with React

0 stars0🌍 Public
Mmbindal-10
Last edited Aug 10, 2022
Created on Aug 10, 2022

This example displays a color wheel generated from a CSV file, where each slice represents a row and is filled with its corresponding RGB hex value. The visualization uses React’s `useState` and `useEffect` hooks to load data with `d3.csv`, while `d3.pie` and `d3.arc` compute the angular layout and SVG paths. A loading state shows text until the data arrives. The final chart is rendered as SVG elements inside a React component.

AI-generated description

A bare minimum HTML page.