Skip to main content
100%

DATA VISUALIZATION

✓ Published0🌍 Public
Aajaysonu
Last edited Mar 9, 2023
Created on Mar 9, 2023
Forked from Data Table Summary

This example loads a CSV of country populations from a GitHub gist and displays a plain-text summary of the dataset in the browser. Using `d3.csv`, it fetches the data and then computes the file size in kilobytes, row count, and column count, which are formatted with `d3.csvFormat` and written to a `<pre>` element styled with black background and green text. The data originates from the 2018 United Nations World Population Prospects estimate, though the live code references a different gist URL than the documented file.

AI-generated description

This program prints a summary of a data table.

This data is about population of the most populous countries in 2018.

This data comes from the year 2018 estimate in United Nations: World Population Prospects 2017.

The data is a "file" here, but the recommended approach is to upload the data seprately, as in the video below.

MIT Licensed

Similar vizzes