Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Fork of Rendering data with react d3 arc

Public visualization

Fork of Fork of Rendering data with react d3 arc

0 stars1🌍 Public
SSong Tao Chen
Last edited Dec 28, 2021
Created on Dec 28, 2021

This visualization displays the CSS named colors as a donut chart, with each color represented by a single wedge of equal size. The chart uses D3’s `arc` generator to compute the SVG path for each slice, with angles evenly distributed across the full circle. Data is loaded from a CSV file using D3’s `csv` utility, and the chart is rendered in a React application with SVG elements, where each wedge’s fill is set to the corresponding RGB hex value from the dataset.

AI-generated description

programs that loads some data using D3 utilities

Comments

Sign in to join the discussion.

MIT Licensed