🌍 Public
Viewing a saved revision (read-only)
2c676afd2ba548e89fc43282895bb566
Fetch Data
This example demonstrates how to load and inspect a CSV dataset from a remote URL using D3. It fetches the latest COVID-19 data from Our World in Data via `d3.csv` and logs the column names to the console, displaying the raw data structure. The visualization renders an empty SVG canvas sized to the viewport, with commented-out code hinting at potential animated circle transitions. The implementation relies on D3 v6, specifically the `select` and `csv` APIs, within a Promise-based async function.
AI-generated description