Fork of Data Table Summary
This visualization presents a concise text-based summary of a CSV dataset containing population figures for the ten most populous countries in 2018, sourced from the United Nations World Population Prospects 2017. It displays the total row count, column count, and file size in kilobytes, followed by the first ten rows formatted as JSON. The code uses D3 v5's `csv` and `csvFormat` functions to load and measure the data, then appends the output to the page as styled `pre` elements with a green-on-black terminal aesthetic.
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.