Skip to main content
100%

Mouse Follower and Data with React & D3

✓ Published0🌍 Public
Ppengw6
Last edited Aug 30, 2022
Created on Aug 30, 2022
Forked from Mouse Follower

This visualization demonstrates how to integrate D3.js within a React application. A large circle follows the mouse cursor across the screen, while a `pre` element displays summary statistics about a dataset loaded from a CSV file containing CSS named colors. The code uses React's `useState` and `useEffect` hooks to manage state and fetch the data via `d3.csv`. The `message.js` module calculates the file size in kilobytes, row count, and column count using `d3.csvFormat` and displays these metrics alongside the interactive mouse follower.

AI-generated description

A program that follows your mouse with a circle.

MIT Licensed

Similar vizzes