Skip to main content
100%

Fork of Fork of Vega-Lite API Template

✓ Published0🌍 Public
LLove Wessman
Last edited Jan 25, 2022
Created on Jan 25, 2022

This visualization displays the US population by age, sex, and year from 1850 to 2000, using grouped bars to compare age cohorts over time. Built with the Vega-Lite API, it encodes year on the x-axis, population counts on the y-axis, and age groups as color, with tooltips revealing sex and population values. The code loads CSV data via `d3.csv` from a GitHub gist, configures axes and label styling through the `config` object, and renders the chart using the Vega, Vega-Lite, and Vega-Tooltip libraries.

AI-generated description

A visualization constructed using the vega-lite-api.

Visualizes US population separated by age groups and sex 1850 - 2000.

MIT Licensed

Similar vizzes