🌍 Public
Viewing a saved revision (read-only)
6f29b146f2474af1862c4a2e374c36d7
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.