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
Ppete0707
Last edited Nov 15, 2022
Created on Nov 15, 2022

This example demonstrates how to load and parse CSV data from an external file. It uses the D3.js library, specifically the `d3.csv` method, to fetch the `spotify.csv` file. Upon loading, the program calculates and displays the data file size in kilobytes, the number of rows, and the number of columns within a large text element. The visualization presents this dataset summary information as simple text output, not as a graphical chart. Additionally, commented-out code shows alternative approaches using the `fetch` API with `async`/`await` and a nested promise structure.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed