Skip to main content
100%

D3 color spiral

✓ Published1🌍 Public
AAmeer Nuri
Last edited Oct 18, 2021
Created on Oct 13, 2021
Forked from Follow Mouse

A D3 color spiral arranges named CSS colors in a circular arc around a central point. Each color is rendered as a slice using a d3.arc with a large outer radius, creating a radial gradient of hues. The code fetches color data from a CSV file via d3.csv, then uses d3.pie to map each row to a segment. Built with React and ReactDOM, the visualization displays the colors in an SVG canvas sized 960 by 500 pixels.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes