Skip to main content
100%

Loading and Parsing CSV Data Top50 songs in 2019 of different countries

✓ Published0🌍 Public
ZZiyang Gao
Last edited Sep 24, 2020
Created on Sep 10, 2020

This example demonstrates loading and parsing a CSV dataset of the top 50 Spotify songs in 2019 across different countries, then displaying basic file statistics. It shows the computed data size in kilobytes, row count, and column count in a large text element. The code uses D3 v5’s `d3.csv` method to fetch and parse the remote CSV file from a GitHub gist, and then accesses the parsed array’s `length` and `columns` properties. The visualization is minimal, focusing on the parsing workflow rather than any graphical representation of the music data.

AI-generated description

A program that loads and parses some CSV data: Top50 songs in 2019 of different countries.

  • Obviously, people in different countries have different preference of music, this dataset collects the top 50 songs in Spotify in 2019 of different countries.
  • It will be fun to know which factor component plays the most important role in one countries pop music.
MIT Licensed

Similar vizzes