Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of mouse event

Public visualization

More options

Embed on a websiteCopy iframe embed code

The embed preserves the visualization's visibility and project dataset permissions.

Download & exportHTML, source ZIP and authorized project data

Source ZIP contains editable visualization files; it does not include project datasets. Standalone HTML is available where authorized and packages readable referenced data for offline use. Dataset ZIP requires project read permission.

Standalone HTMLSource ZIP
Publishing & handoffCopy a client maintenance summary

Includes the canonical link, visibility, and available export formats. Confirm dataset attribution, licensing and maintenance responsibilities with the publisher.

Fork of mouse event

0 stars1🌍 Public
LLívia Pinheiro
Last edited Aug 13, 2024
Created on Aug 13, 2024

A single SVG circle follows the mouse cursor across a 960-by-500 canvas. The visualization uses React's `useState` and `useCallback` hooks to track pointer coordinates from the `onMouseMove` event, updating the circle's center position in real time. The code imports `range` from d3 but does not use it. The graph is rendered through React's `ReactDOM.render` method, with the SVG container set to hide page overflow.

AI-generated description

A bare minimum HTML page.

Comments

Sign in to join the discussion.

MIT Licensed