Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of HTML Starter

Public visualization

Fork of HTML Starter

0 stars0🌍 Public
Aalexfox
Last edited Jul 16, 2021
Created on Jul 16, 2021
Forked from HTML Starter

This example demonstrates a minimal React application that fetches a CSV file from a GitHub Gist using D3’s `csv` method. The fetched data is stored in React state via the `useState` and `useEffect` hooks, and the app displays a message showing the approximate size of the formatted CSV data in kilobytes. The code uses React DOM to render the component into the page, and D3 v7 provides the CSV parsing functionality. A large `pre` element styles the output text prominently.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

Comments

Sign in to join the discussion.

MIT Licensed