Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Loading and Parsing CSV Data

Public visualization

Viewing a saved revision (read-only)

4566108df91e430e9ca203013e75df87

Loading and Parsing CSV Data

0 stars0🌍 Public
AAlexalim28
Last edited Jul 29, 2021
Created on Jul 28, 2021
Forked from Hello HTML

This example demonstrates the process of loading and parsing CSV data from a remote URL using D3.js version 7. It fetches a dataset of CSS named colors from a GitHub gist and displays three summary statistics: the data size in kilobytes, the number of rows, and the number of columns. The visualization uses the `d3.csv` method to asynchronously retrieve and parse the file, then `d3.csvFormat` to calculate its byte length. Results are rendered as large text inside an HTML `<pre>` element, providing a simple, non-graphical output.

AI-generated description

A program that loads and parses some CSV data.