Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

[Vega-Lite] 3.2 Line Chart

Public visualization

Viewing a saved revision (read-only)

8c3a686c3ce64cf6be2753034e49bca0

[Vega-Lite] 3.2 Line Chart

0 stars0🌍 Public
Iimjiyn
Last edited Mar 16, 2022
Created on Mar 16, 2022
Forked from HTML Starter

This example combines two area charts in a vertically stacked view to show the S&P 500 index price over time. The top chart acts as a detailed view, while the bottom chart serves as a brushable overview for panning and zooming via a linked interval selection. Built with Vega-Lite v5, the visualization loads data from a CSV file containing historical price records. The code uses the `vegaEmbed` API to render the specification, which applies a temporal x-axis scale with a parameterized domain tied to the brush selection.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.