Fork of Data Table Summary
This example shows a text-based summary of a 2018 United Nations population dataset for the ten most populous countries, displaying row and column counts, file size in kilobytes, and the first 10 rows as formatted JSON. It uses d3.csv to load the data, d3.csvFormat to compute the data’s size, and d3.select to append <pre> elements to the body. The black background with green monospaced text gives the output a terminal-like appearance.
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.