Fork of Data Table Summary
This example displays a plain-text summary of a 2018 United Nations population dataset, showing row count, column count, file size in kilobytes, and the first 10 rows as formatted JSON. The code uses `d3.csv` to load the data, `csvFormat` to measure its byte length, and D3 selections (`select`, `append`) to write results into `<pre>` elements. The black background with green monospace text creates a terminal-like aesthetic, though no interactive or graphical visualization is present.
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.