🌍 Public
Viewing a saved revision (read-only)
e0e7f9fc31284922aaf127860c204ab9
Gapminder Life Expectancy Data
This example loads a Gapminder life expectancy dataset in wide format and displays the raw parsed data as a JSON preview. It fetches `data.csv`, converts year columns to numbers, and handles values with a "k" suffix by multiplying by 1000. The visualization uses D3 v7's `csvParse` and `select` to manage asynchronous data loading and rendering. It demonstrates a data-loading workflow where the state tracks loading status and updates the view accordingly, without yet showing a chart.
AI-generated description