Data Table Summary
✓ Published1🌍 Public
This example displays a plain-text summary of a dataset containing World Bank GDP figures for all countries from 1970 to 2017. It reports the row count, column count, file size in kilobytes, and prints the first ten rows as formatted JSON. Using D3 v5’s `csv` and `csvFormat` methods, it loads the remote CSV file and calculates the data size, then appends the results to the page with `select` and `append`. The dark terminal-style styling comes from the accompanying CSS.
AI-generated descriptionThis program prints a summary of a data table.
This data is about the Gross Domestic Product of all countries between 1970 and 2017.
This data comes from World Bank national accounts data: GDP (current US$) 1970-2017.
MIT Licensed