Skip to main content
100%

Fork of Data Table Summary jhghj

✓ Published0🌍 Public
VVineela Reddy
Last edited Mar 3, 2023
Created on Mar 3, 2023
Forked from Data Table Summary

This example displays a text-based summary of a CSV dataset containing 2018 population estimates for the ten most populous countries, sourced from the United Nations World Population Prospects. The page shows the total row count, column count, and file size in kilobytes, followed by a JSON-formatted listing of the first ten rows. The code uses d3.csv to load the data, and d3.csvFormat to calculate the data size, then appends the summary and data preview as plain text within pre elements. The visualization uses a black background with green monospace text for a terminal-like aesthetic.

AI-generated description

This 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.

The data is a "file" here, but the recommended approach is to upload the data seprately, as in the video below.

MIT Licensed

Similar vizzes