Skip to main content
100%

Inspecting some data

✓ Published0🌍 Public
RRod Potter
Last edited Apr 24, 2019
Created on Apr 23, 2019
Forked from Making a bar chart

This example loads a CSV dataset of automobile fuel consumption from a remote URL and displays a plain-text summary of its basic structure: row count, column count, and file size in kilobytes. It then prints the first ten rows of the data as formatted JSON. The implementation uses d3.csv to fetch and parse the data, d3.csvFormat to calculate the raw size, and d3.select to append multiple <pre> elements to the body, with JSON.stringify providing readable output.

AI-generated description

This is the weather station data list from Environment Canada

MIT Licensed

Similar vizzes