Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Loading and Parsing CSV Data

Public visualization

Loading and Parsing CSV Data

0 stars0🌍 Public
PPaul B
Last edited Aug 22, 2021
Created on Aug 16, 2021
Forked from HTML Starter

This example demonstrates how to load and parse CSV data using D3 v7, displaying the dataset’s file size, row count, and column count in a large text pre element. The code fetches a CSV file of CSS named colors from a GitHub gist via `d3.csv`, then formats the parsed data with `d3.csvFormat` to calculate its kilobyte size. It also reports `data.length` for rows and `data.columns.length` for columns, providing a concise summary of the loaded dataset’s structure.

AI-generated description

A program tthat loads and parses CSV data

Comments

Sign in to join the discussion.

MIT Licensed