Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Loading and Parsing Data

Public visualization

Viewing a saved revision (read-only)

822bddf5019c46a6b0d32fed76b9fef0

Loading and Parsing Data

0 stars0🌍 Public
PPriteshlip10
Last edited Aug 6, 2021
Created on Aug 6, 2021
Forked from Hello HTML

This example demonstrates how to load and parse CSV data using D3.js v7. The program fetches a CSV file of CSS named colors from a GitHub gist, then parses it with `d3.csv()` and displays summary statistics. The output shows the data size in kilobytes, the number of rows, and the number of columns in large text on a blank page. The code primarily relies on the `d3.csv` function for parsing and `d3.csvFormat` to calculate the data's byte size, with alternative fetch-based approaches commented out.

AI-generated description

A program that loads and parses some csv data