Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of HTML Starter

Public visualization

Fork of HTML Starter

0 stars0🌍 Public
YYasser Aziz
Last edited Sep 22, 2021
Created on Sep 22, 2021
Forked from HTML Starter

This interactive visualization renders a single circle that follows the mouse cursor across a 500x500 SVG canvas. The circle's position updates in real time through React's `useState` hook, which tracks mouse coordinates via an `onMouseMove` event handler. The code imports the `arc` function from d3.v7, though it is not used in the current implementation, and renders the SVG using ReactDOM. The example demonstrates a minimal React and d3 integration, with the circle radius fixed at 10 pixels.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

Comments

Sign in to join the discussion.

MIT Licensed