D3 color spiral
✓ Published1🌍 Public
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 descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed