Skip to main content
100%

GDP per capita

✓ Published0🌍 Public
Rrohame
Last edited Sep 18, 2019
Created on Sep 8, 2019

This visualization shows GDP per capita trends for continents from 1970 onward, highlighting values on hover. It uses Vega-Lite APIs to build layered line, rule, and text marks, with interactive selection via `vl.selectSingle()`. Data is loaded asynchronously from a CSV via d3’s `csv` function, filtered to selected regions and series. The chart is rendered with Vega’s SVG renderer, and a guide title and labels are customized through the config object.

AI-generated description

GDP per capita across the decades. Dataset is here.

MIT Licensed

Similar vizzes