Skip to main content
100%

Loading and Parsing CSV Data

✓ Published0🌍 Public
Kkrandslam
Last edited Oct 9, 2023
Created on Oct 9, 2023

This example demonstrates the basics of loading and parsing CSV data with D3.js, displaying summary statistics about a dataset of named CSS colors. The visualization shows the file size (123 kB), row count (148 rows), and column count (4 columns) in large text. It uses the `d3.csv` function to fetch and parse the remote CSV file from a GitHub Gist, then `d3.csvFormat` to calculate the data size. The page presents the results in a simple pre-formatted text container, with commented-out alternatives using fetch and `d3.csvParse`.

AI-generated description

A program that loads and parses some csv data

MIT Licensed

Similar vizzes