{"version":"1.0","type":"rich","title":"Dot color change when moving mouse","description":"A circle follows the mouse pointer across an SVG canvas, and its fill color changes to a random value from a predefined palette on every mouse movement. The React application tracks mouse coordinates through an `onMouseMove` handler on the SVG element, updating state with `useState` to reposition the circle and select a new color. Rendering is handled by ReactDOM, which updates the circle’s `cx`, `cy`, and `fill` attributes in response to the state changes.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/d924405672c54f6da38168e66c098c46?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}