🌍 Public
Viewing a saved revision (read-only)
badedc6341724a549ca46fab608e83b9
World Population Data
This example displays basic metadata about the world population dataset from 1960 to 2020, including its file size, row count, and column count. The visualization itself is minimal, showing only these statistics in a large text element. The code loads the CSV data using D3 v5’s `d3.csv` method, then calculates and displays the dataset’s size using `d3.csvFormat` and the built-in `data.length` and `data.columns.length` properties. It also includes commented-out alternatives using the Fetch API and `d3.csvParse`.
AI-generated descriptionWorld Population Data
Description: The world population data is from 1960 to 2020, which calculate the annual data.