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
Yyyaaa1
Last edited Sep 7, 2019
Created on Sep 7, 2019

This example demonstrates how to load and parse CSV data from a remote URL using D3.js v5. It displays a summary of the dataset, including its size in kilobytes, row count, and column count, within a large text element. The code uses `d3.csv` to fetch and parse the data asynchronously, then `d3.csvFormat` and `data.columns` to extract metadata. The dataset, sourced from a GitHub gist, contains U.S. Metro Areas Violent Crime Rates by Type across multiple years.

AI-generated description

A program that loads and parses some CSV data. U.S. Metro Areas Violent Crime Rates by Type

Comments

Sign in to join the discussion.

MIT Licensed