Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Loading and Parcing CSV Data

Public visualization

Loading and Parcing CSV Data

0 stars0🌍 Public
KKolezhannochka
Last edited Jan 3, 2022
Created on Jan 3, 2022
Forked from Hello HTML

This example demonstrates how to load and parse CSV data using D3.js, displaying summary statistics about a dataset of named CSS colors. It uses `d3.csv` to fetch the remote CSV file and returns a parsed array of objects, then formats a message showing the dataset size in kilobytes, row count, and column count. The code also includes a commented-out alternative using the Fetch API and `d3.csvParse` for manual text parsing. The results are rendered into a large-text `<pre>` element.

AI-generated description

A bare minimum HTML page.

Comments

Sign in to join the discussion.

MIT Licensed