Rendering Data with React & D3 working with graphics and D3 ARCs
✓ Published1🌍 Public
Mmattbwebster
Last edited Sep 1, 2021
Created on Sep 1, 2021
This example demonstrates how React and D3 can work together to render a donut chart from a CSV dataset. The application loads data for named CSS colors using d3.csv, stores the data in React state, and maps each color to a wedge using D3’s arc generator. Each path is colored directly from the ‘RGB hex value’ column, creating a full circular visualization that displays the color palette at a glance.
AI-generated descriptionA program that LOADS IN SOME DATA USING d3 UTILITIES, NAD USES rEACT STATE TO KEEP TRACK OF THE DATA.
MIT Licensed