Skip to main content
100%

Mouse Follower

✓ Published0🌍 Public
SShiryaW
Last edited Jan 13, 2022
Created on Jan 13, 2022

A circle tracks the mouse cursor across an SVG canvas, moving fluidly with each pointer movement. Clicking the canvas loads a CSV file from a remote GitHub repository, then calculates and displays the average temperature recorded at the Friman Metsola collective. The visualization uses React's `useState` and `useCallback` hooks, with D3's `csv()` function parsing the data, while the circle's position updates through an `onMouseMove` event handler. The SVG circle and text overlay are rendered within a full-screen viewport.

AI-generated description

Literally just a playground.

MIT Licensed

Similar vizzes