Mouse Move and Load CSV
✓ Published1🌍 Public
This example demonstrates a simple interactive visualization where a circle follows the mouse cursor across an SVG canvas, while a text overlay reports the size and dimensions of a CSV file loaded from a GitHub gist. The circle’s position updates via React’s `useState` and `onMouseMove` event. The CSV is fetched asynchronously using `fetch`, `async`/`await`, and parsed with `d3.csvParse`, displaying the file’s kilobyte size, row count, and column count. The scene uses React 16.9, D3 v6, and SVG rendering.
AI-generated descriptionA program that follows your mouse with a circle
And then also loads a CSV with fetch, async and await, and parses it with d3
MIT Licensed