Skip to main content
100%

line Chart Vega-Lite API Template

✓ Published0🌍 Public
Tt_tannenbaum@coloradocollege.edu
Last edited May 13, 2024
Created on May 9, 2024

This visualization uses the Vega-Lite API to overlay two area charts tracking economic and military aid to Israel over time, filtered to values above ten million constant dollars. The charts plot Fiscal Year on the x-axis and Constant Dollar Amount on the y-axis, with blue and red semi-transparent areas distinguishing aid categories. Data is loaded via d3.csv from a GitHub-hosted CSV file, and the rendered SVG view includes tooltips and a titled legend. The example demonstrates layering marks with `vl.layer`, encoding time and quantitative fields, and customizing axes and typography through a config object.

AI-generated description

A visualization constructed using the vega-lite-api.

MIT Licensed

Similar vizzes