Skip to main content
100%

Fork of Mouse Follower

✓ Published0🌍 Public
NNatália
Last edited Sep 16, 2023
Created on Sep 16, 2023
Forked from Mouse Follower

This fork demonstrates a unidirectional data flow pattern that updates an SVG circle to follow the mouse cursor. The visualization tracks pointer position and renders a simple responsive point on the canvas. Built with React and D3 (v7), the implementation uses `select` to target DOM nodes and `csvParse` to load and parse the Iris flower dataset from `data.csv`. The data loading follows a state machine pattern, transitioning from `undefined` to `'LOADING'` to the final parsed array, with numeric conversions applied to the measurement columns.

AI-generated description

A circle that follows the mouse using unidirectional data flow. See also Mouse Follower with React.

MIT Licensed

Similar vizzes