Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Loading Data

Public visualization

Loading Data

0 stars4🌍 Public
LLauren
Last edited Jan 20, 2023
Created on Jan 20, 2023
Forked from Mouse Follower

This example demonstrates asynchronous data loading by fetching a CSV file of Iris flower measurements and displaying the parsed data as a text preview in the browser. The page initially shows “LOADING” until `fetch` retrieves the file, then `csvParse` converts the raw text into an array of objects. Numeric fields are explicitly converted from strings to numbers with the unary plus operator, and the resulting dataset is rendered inside a `pre` element. The visualization uses a minimal state management pattern with a `setState` function to trigger re-rendering once the data arrives.

AI-generated description

A circle that follows the mouse using unidirectional data flow.

Comments

Sign in to join the discussion.

MIT Licensed