[Vega-Lite] 3.4 Composition
✓ Published1🌍 Public
This example shows the S&P 500 index price over time as two stacked area charts, one above the other. The upper chart displays the full temporal range with a standard height, while the lower chart repeats the same data at a reduced height of 60 pixels. Both charts use the Vega-Lite specification language within a single `vconcat` composition, referencing the sp500.csv dataset. The visualization is rendered in the browser using the Vega-Embed API, which loads the vega-lite v5 schema and executes the chart definitions.
AI-generated descriptionMIT Licensed