Skip to main content
100%

Loading and Parsing PS4 Games Sales CSV Data

✓ Published0🌍 Public
YYichen Li
Last edited Sep 30, 2021
Created on Sep 8, 2021

This example demonstrates loading and parsing the PS4 Game Sales Dataset, displaying file size, row count, and column count on a black background. It uses d3.csv to fetch the CSV from a GitHub gist, then d3.csvFormat to calculate the data size in kilobytes. The code also includes commented alternatives using fetch, async/await, and d3.csvParse, alongside a nested Promise example, illustrating different asynchronous parsing approaches in D3 v5.

AI-generated description

Description:

This program loads and parses the PS4 Game Sales Dataset.

Ideas for Questions and Tasks

  1. How did the total sales change in North America, Europe, Japan, other area from 2013 to 2018?
  2. What is the sales distribution in each year?
  3. Is there any relationship between game genre and best selling area?
  4. What is the best selling game in each year?
  5. How did the sales change in each series game?

Spetial Types of Attributes

  • Year_of_Release is ordinal
  • Genre is categorical
  • Publisher can be categorical

P.S. The unit of sales is million

MIT Licensed

Similar vizzes