Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of loading data with D3

Public visualization

Viewing a saved revision (read-only)

747e716dcb164410b3214f855ca20627

Fork of loading data with D3

0 stars1🌍 Public
Ppatasky
Last edited May 21, 2021
Created on May 21, 2021

This example shows a color wheel built from a CSV dataset of RGB hex values, rendered as an SVG pie chart with React. It loads data using D3’s `csv` function and computes the pie layout with `d3.pie`, while `d3.arc` generates the path geometry for each colored slice. The chart updates from a loading state to the final visualization once data arrives, with each slice filled by its corresponding hex value.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.