Skip to main content
100%

Fork of load data

✓ Published1🌍 Public
Sshimos12468
Last edited Jun 2, 2021
Created on Jun 2, 2021
Forked from load data

This visualization displays a color wheel constructed from a CSV dataset of named CSS colors, with each color represented as a slice of a pie chart. The code uses React hooks (useState and useEffect) to asynchronously load data via d3.csv, then maps it into arcs using d3.pie and d3.arc. The computed SVG paths are rendered inside React’s virtual DOM, with a d3 pie generator assigning equal value to each row. The chart initially shows a "Loading..." message until the external dataset arrives.

AI-generated description

A program that uses react and d3 to visulize the data

MIT Licensed

Similar vizzes