Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Mouse Follower

Public visualization

Viewing a saved revision (read-only)

131bde3d6efc43b896eacb6da4f2a20a

Mouse Follower

0 stars0🌍 Public
CCarolineZhou
Last edited May 18, 2021
Created on May 10, 2021
Forked from Hello HTML

A smiling cartoon face follows the mouse cursor across a yellow SVG canvas. The face is assembled from React components, with a yellow circle for a head, black-outlined eyes, and a curved mouth drawn using D3’s `arc` path generator. Mouse movement is tracked via an `onMouseMove` event listener, storing coordinates in React state and updating the rendered position of the face. D3 v6 provides the arc geometry, while React manages the interactive SVG rendering.

AI-generated description

A bare minimum HTML page.