Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Loading and Parsing CSV Data CSS colors

Public visualization

Fork of Loading and Parsing CSV Data CSS colors

0 stars0🌍 Public
JJoeleen Kado
Last edited Mar 3, 2021
Created on Mar 3, 2021

This example displays summary statistics from a CSV file of CSS named colors, showing the dataset’s row count, column count, and size in kilobytes. It loads the remote CSV using `d3.csv` and formats the output with `d3.csvFormat` to calculate data size. The result appears as large text in a `<pre>` element, updated via the DOM API. React state is noted in the metadata, though the visible implementation relies on D3’s promise-based loading and plain JavaScript DOM manipulation. The code also includes commented alternatives using `fetch` and `d3.csvParse`.

AI-generated description

A program that loads in some data of CSS Named Colors

D3 utilities and uses React state to keep track of the data

Comments

Sign in to join the discussion.

MIT Licensed