Skip to main content
100%

Loading and Parsing Hans Rosling Population Growth Data

✓ Published0🌍 Public
Llakalia@wpi.edu
Last edited Sep 24, 2020
Created on Sep 10, 2020

This example demonstrates loading and parsing the Gapminder total population CSV dataset used in Hans Rosling’s animated charts, displaying file size, row count, and column count as large text. It uses D3 v5’s `d3.csv` method to fetch and parse the remote data, then formats the resulting array with `d3.csvFormat` to measure its size. The code also includes commented alternatives using the Fetch API with `async`/`await` and a nested promise chain, showing multiple approaches to asynchronous data loading.

AI-generated description

A program that loads and parses the Population Growth (Total Population) data from gapminder behind Hans Rosling's animated visualization.

Hans Rosling Gapminder Population Growth was downloaded from Step 1 of How to build Animated Charts like Hans Rosling — doing it all in R and originally comes from Gapminder.com

MIT Licensed

Similar vizzes