Data Table Summary
✓ Published0🌍 Public
This example summarizes a CSV of World Bank GDP data for all countries from 1960–2017. It displays the total row and column counts, the file size in kilobytes, and a JSON-formatted preview of the first 10 rows. The code uses `d3.csv` to load the data, `d3.csvFormat` to calculate the file size, and `d3.select` to append `<pre>` elements showing the summary. The output appears in monospace green text on a black background.
AI-generated descriptionThis program prints a summary of a data table.
This data is about Gross Domestic Product (GDP) of all countries between 1960 - 2017.
This data comes from World Bank national accounts data: GDP (current US$) 1960-2017.
MIT Licensed