🌍 Public
Viewing a saved revision (read-only)
5d94ef22c82046e08fd789e5c7900cea
Pie based on color palette
This visualization appears to be a pie chart generated from a CSV of named colors, which it loads asynchronously and parses using D3’s `csv` function. The React app maps each color row to a small square div, using the row’s hexadecimal color value as the background, though the chart layout itself is not yet implemented. The page renders via SVG, though the current code returns only a loading message before mapping data to unstyled divs. The example demonstrates a D3-v7 and React integration, pulling data from a Gist-hosted CSV.
AI-generated descriptionA program that uploads & parse a csv for you (using this as base) --> Using D3 & React to continue