Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

rendering data with react and d3

Public visualization

rendering data with react and d3

0 stars1🌍 Public
BBrian Machado
Last edited Jul 2, 2022
Created on Jul 2, 2022

The example renders a full circle pie chart where each slice represents a single CSS named color, colored with its own RGB hex value. It loads color data from a CSV file using `d3.csv`, then maps each row to an SVG path via React's `map` function. The chart is drawn with `d3.arc` and `d3.pie` inside a React component, which updates the SVG output as data loads.

AI-generated description

Smiley face implementation with React.

Comments

Sign in to join the discussion.

MIT Licensed