🌍 Public
Viewing a saved revision (read-only)
5e810b09b2c24678b31f1d2bc81333d3
Fork of Mouse Follower
This example loads a CSV dataset of CSS named colors using D3’s `d3.csv` utility and displays a summary of that data’s size, row count, and column count. The React application uses the `useState` hook to manage the fetched data, initially showing the text “loading” until the asynchronous request resolves. Once loaded, the message is rendered inside an HTML `<pre>` element, with the total file size computed via `d3.csvFormat`. The visualization is minimal, focusing on the data-loading and state-management workflow rather than graphical output.
AI-generated descriptionA program that follows your mouse with a circle.