Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Smiley Face Part II

Public visualization

Fork of Smiley Face Part II

0 stars0🌍 Public
SSampras Dsouza
Last edited Jun 10, 2022
Created on Jun 9, 2022

This example shows a webpage that asynchronously fetches a CSV file of CSS named colors and displays a summary of the loaded data, including its size in kilobytes, row count, and column count. The implementation uses React with hooks like `useState` and `useEffect` to manage the data loading state, and the D3 `csv` function to parse the remote CSV file. Rendered as HTML text within a div, the page initially displays “Loading” until the data arrives, after which it prints the derived statistics to both the console and the screen.

AI-generated description

Smiley face implementation with React.

Comments

Sign in to join the discussion.

MIT Licensed