Data Table Summary
✓ Published3🌍 Public
This example displays a text-based summary of a beer dataset loaded from a CSV file, showing the total row count, column count, and file size in kilobytes, followed by the first ten rows as formatted JSON. The code uses D3 v5 methods `select` and `csv` to fetch and parse the data, then appends `pre` elements to the body. The text is styled with a black background and green monospace font via CSS. The dataset originates from Jean-Nicholas Hould’s craft-cans collection on Kaggle.
AI-generated descriptionThis program prints a summary of a data table.
This data is about beer.
This data comes from Jean-Nicholas Hould.
The data is a "file" here, but the recommended approach is to upload the data seprately, as in the video below.
MIT Licensed