Skip to main content
100%

Loading data - vgsales.csv

✓ Published0🌍 Public
VVarun Eranki
Last edited Sep 18, 2020
Created on Sep 9, 2020

This example loads the Video Games Sales dataset from a GitHub-hosted CSV and displays its size, row count, and column count in large text. It demonstrates two approaches to fetching and parsing data: the primary method uses `d3.csv` to load and parse the file, while an alternative commented implementation uses `fetch` with `async`/`await` and `d3.csvParse`. The page also includes a commented “pyramid of doom” example showing nested promise callbacks. All results are rendered into a `<pre>` element via `document.getElementById`.

AI-generated description

A program that loads and parses Video Games Sales dataset. This dataset contains information of video games' sales across various platforms and genres. Dataset obtained from Kaggle.

MIT Licensed

Similar vizzes