Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of [Vega-Lite] 3.5 Selection

Public visualization

Fork of [Vega-Lite] 3.5 Selection

0 stars0🌍 Public
JJaneChyau
Last edited Mar 16, 2022
Created on Mar 16, 2022

Two stacked area charts show the S&P 500 price over time, sourced from a CSV file. The upper chart’s x-axis scale is linked to a brush selection on the lower, smaller chart via a Vega-Lite parameter named `brush`, which uses an interval selection over the x-encoding. Dragging across the lower chart updates the upper chart’s displayed date range. The visualization is built with Vega-Lite 5, embedded by vega-embed, and renders area marks for both views.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed