[Vega-Lite] 3.2 Line Chart
✓ Published0🌍 Public
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 descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed