🌍 Public
Viewing a saved revision (read-only)
1c7302e91f6b448f982526baa6586c56
circle with Sine and cosine functions
This example renders a set of 50 randomly positioned circles inside an SVG, with each circle’s x-coordinate derived from a random value and its y-coordinate spaced evenly by index. The fill color of each circle varies dynamically using `rgb()` values computed from the circle’s index and a random multiplier. Built with React and ReactDOM, it uses JSX to map over an array of random numbers and generate the SVG circle elements, demonstrating a simple, non-interactive scatter-like visualization of random data.
AI-generated descriptionReact Starter code.