Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Loading Data

Public visualization

Viewing a saved revision (read-only)

70d6b4af400049138fb136844e6c978e

Loading Data

0 stars0🌍 Public
IIshaChid76
Last edited Jan 22, 2023
Created on Jan 22, 2023
Forked from Mouse Follower

This example demonstrates how to load and parse a CSV file in D3.js, displaying the raw parsed data as a stringified JSON object in a `<pre>` element. The visualization uses a state management pattern with a `setState` function to handle asynchronous data loading, initially showing a "LOADING" placeholder. It fetches `data.csv`, parses it with `d3.csvParse`, and converts numeric columns to numbers before updating the display. The Iris flower dataset is used as the data source, with the rendering approach being a simple text-based output rather than a graphical chart.

AI-generated description

A circle that follows the mouse using unidirectional data flow.