Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Hello HTML

Public visualization

Hello HTML

0 stars1🌍 Public
CChristian
Last edited May 2, 2021
Created on Apr 28, 2021

A simple interactive SVG circle follows the mouse pointer across a 960-by-500 blank canvas, updating its position in real time. The visualization uses React 17 with the `useState` hook to manage the circle’s coordinates, which are updated on every `mousemove` event on the SVG element. The circle’s center is set via the `cx` and `cy` attributes, while D3 v5 is loaded but not directly used in the rendering logic. The example demonstrates state-driven updates in a React-rendered SVG without any external data source.

AI-generated description

The number of VizHub users over time, since it was launched on August 14, 2018.

Comments

Sign in to join the discussion.

MIT Licensed