Skip to main content
100%

Fetch Data

✓ Published0🌍 Public
Ddaria.daria
Last edited Jan 5, 2023
Created on Jan 1, 2023

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
MIT Licensed

Similar vizzes