Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Loading and Parsing CSV Data

Public visualization

Fork of Loading and Parsing CSV Data

0 stars0🌍 Public
GGerasimos Katsagannis
Last edited May 17, 2022
Created on May 17, 2022

This example displays the size and structure of a COVID-19 World Vaccination Progress CSV dataset by rendering the file size in kilobytes, row count, and column count in large text. It uses the D3.js library’s `d3.csv` method to fetch and parse the remote CSV file, then accesses the resulting parsed data’s `columns` property to determine the number of columns. The visualization demonstrates a straightforward data-loading workflow, showing the parsed dataset’s basic metadata rather than plotting the actual values. The code also includes commented-out alternatives using `fetch`, `async`/`await`, and `d3.csvParse`.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed