Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Rendering Data with React

Public visualization

Fork of Rendering Data with React

0 stars1🌍 Public
SShmuel Leider
Last edited Jun 3, 2021
Created on Jun 3, 2021

This example builds a pie chart of CSS named colors from a CSV dataset using React and D3 v6. It loads and parses the data with `d3.csv`, then uses the `pie()` layout and `arc()` generator to compute and render SVG paths. Each slice is filled with the color value from the `Keyword` column, and the chart is centered within an SVG container. React manages the loading state and renders the paths as components.

AI-generated description

A program that loads and parses csv data about CSS named colred using D3 utilities, and uses React render the data.

Comments

Sign in to join the discussion.

MIT Licensed