Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

10. Loading Data in React

Public visualization

Viewing a saved revision (read-only)

d8592f22f20a4424a98e6b553605a1fa

10. Loading Data in React

0 stars1🌍 Public
PPrashish Paudel
Last edited Mar 30, 2021
Created on Mar 30, 2021

This example demonstrates the process of loading external data in a React application. It fetches a CSV file containing CSS named colors from a GitHub gist and displays a summary of the dataset. The visualization shows a text-based report with the file size in kilobytes, row count, and column count. The implementation uses React's `useState` and `useEffect` hooks, with the d3 `csv` function to parse the data and `d3.csvFormat` to calculate its size.

AI-generated description

A program that follows your mouse with a circle.