Skip to main content
100%

Data Table Summary

✓ Published1🌍 Public
CChooo4u
Last edited Sep 12, 2018
Created on Sep 12, 2018
Forked from Data Table Summary

This example displays a plain-text summary of a CSV dataset, showing the total number of rows, columns, and file size, followed by the first ten rows rendered as formatted JSON. It uses D3 v5’s `csv` and `csvFormat` functions to load and measure the data, and `select` to append `<pre>` elements to the page. The data, sourced from the World Happiness Report 2017, is displayed in a monospaced terminal style with green text on a black background.

AI-generated description

This program prints a summary of a data table.

This data is about share of people who say they are 'very happy' or 'rather happy'.

This data comes from the World Happiness Report 2017 in Our World in Data: Happiness and Life Satisfaction

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