Data Table Summary
This example summarizes the structure and content of a small CSV file containing sales figures for the top five best-selling Mario video game series. The visualization displays a plain-text report showing the number of rows, columns, and file size in kilobytes, followed by a JSON-formatted preview of the first 10 rows. Built with D3.js v5, the code uses the `csv` function to load the data and `select` to append `<pre>` elements to the document body. The data originates from a 2018 estimate in the United Nations World Population Prospects, though the displayed file contains Mario game sales.
AI-generated descriptionThis program prints a summary of a data table.
This data is about top 5 best-selling Mario series video game of all time.
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.