Skip to main content
100%

Loading and Parsing CSV Data

✓ Published0🌍 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

MIT Licensed

Similar vizzes