Rainbow Circles
✓ Published3🌍 Public
NNita
Last edited May 23, 2020
Created on May 20, 2020
This example renders a series of concentric circles centered on an SVG canvas, with each circle’s radius increasing by a fixed pixel increment. The stroke color of every circle is randomly generated using the `rgb()` function with values between 0 and 250. Implemented in React with ReactDOM, the visualization maps an array of radius values to SVG `<circle>` elements, producing a multicolored, nested-ring pattern reminiscent of a rainbow.
AI-generated descriptionReact Starter code.
MIT Licensed