Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

data_2.zip

Public visualization

Viewing a saved revision (read-only)

e02e8dbe84854f0c874e457bb6aa3f89

data_2.zip

0 stars0🌍 Public
HHuldahMerlinKolli
Last edited May 4, 2023
Created on May 4, 2023

This example loads a small dataset containing CSS named colors and displays a text summary of its contents. The program uses D3's `csv` utility to fetch and parse the data from a remote URL, then leverages React state to store the result. Once loaded, a custom message function computes and displays the file size in kilobytes, the row count, and the column count using `d3.csvFormat` to calculate byte length. The interface presents this information as large, simple text, with a loading message shown while the data is being fetched.

AI-generated description

A program that loads in some data about CSS named colors using D3 utilities, and uses React state to keep track of the data.