Skip to main content
Public

Share visualization

Loading preview…

load-csv-data

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

load-csv-data

0
Rriizevans
Last edited Aug 24, 2023
Created on Aug 24, 2023
Forked from mouse-circle

This example demonstrates how to load and summarize a CSV dataset in a React application using D3. The page displays a text message indicating the number of columns, rows, and file size in kilobytes once the data from a GitHub gist has been fetched. The code uses the `d3.csv` function to parse the remote CSV file, and React hooks `useState` and `useEffect` manage the asynchronous data loading and state updates. The result is rendered as a simple `<pre>` element showing the computed data metrics.

AI-generated description

Smiley face implementation with React.

Comments

Sign in to join the discussion.

MIT Licensed