🌍 Public
Loading data - vgsales.csv
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 descriptionA 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
Comments
Sign in to join the discussion.