DATA VISUALIZATION
This example displays a text summary of a population dataset from the 2018 United Nations World Population Prospects, presenting the file size, row count, and column count in a terminal-style black-and-green interface. It loads a CSV file from a GitHub gist using the `d3.csv` method, then computes the data’s size in kilobytes with `d3.csvFormat` and appends the tabular dimensions to a `<pre>` element. The visualization relies on D3 v5 and demonstrates basic data loading, formatting, and DOM manipulation.
AI-generated descriptionThis 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.