Data Table Summary
This example displays a text-based summary of a population dataset for the ten most populous countries in 2018, sourced from the United Nations World Population Prospects. It shows the total row count, column count, and file size in kilobytes, followed by the first ten rows of the data formatted as JSON. The page uses d3.csv to load the external data.csv file, d3.csvFormat to compute the data size, and d3.select to append <pre> elements displaying the results on a black background with green terminal-style text.
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.
Comments
Sign in to join the discussion.