Skip to main content
100%

Fork of loading data with D3

✓ Published1🌍 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.

MIT Licensed

Similar vizzes