Data Table Summary
✓ Published0🌍 Public
This example summarizes a CSV data table of daily stock prices for five commodities companies in 2018, sourced from the United Nations World Population Prospects. 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.csv to load the data and d3.csvFormat to calculate its size, then appends the summary and raw data as text within pre elements.
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