line Chart Vega-Lite API Template
✓ Published0🌍 Public
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 descriptionA visualization constructed using the vega-lite-api.
MIT Licensed