Data Table Summary
✓ Published15🌍 Public
This example prints a text summary of a CSV data table about the 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 as formatted JSON. The code uses d3.csv to load the data, d3.csvFormat to compute the data size, and d3.select to append pre elements to the body. The terminal-style black background with green monospace text echoes a command-line interface.
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.
MIT Licensed