Skip to main content
100%

Fork of Loading data in D3

✓ Published1🌍 Public
HHgeginat
Last edited Mar 24, 2022
Created on Mar 22, 2022
Forked from Loading data in D3

This example demonstrates a React-based data visualization that loads a CSV file of named CSS colors and renders each color as an arc segment in a partial donut chart using SVG paths. The code fetches the external CSV file with d3.csv, then maps each row to a path element using the d3.arc generator with a fixed outer radius and angle range. The fill color for each path is taken directly from the CSV’s “RGB hex value” column, showing the complete dataset without additional aggregation.

AI-generated description

A program that uploads & parse a csv for you (using this as base) --> Using D3 & React to continue

MIT Licensed

Similar vizzes