Skip to main content
100%

[Vega-Lite] 3.3 Area Chart

✓ Published2🌍 Public
DDiego Rojo
Last edited Mar 16, 2022
Created on Mar 15, 2022

This area chart displays the daily closing price of the S&P 500 index over time, using a filled region beneath a line to emphasize the magnitude of price changes. The visualization is built with Vega-Lite, specifying an area mark in a JSON specification loaded by `vegaEmbed` from `area.vl.json`. The data is fetched from a remote CSV file containing `date` and `price` fields, mapped to the temporal x-axis and quantitative y-axis, respectively. The chart is rendered inside an HTML page using the vega and vega-lite JavaScript libraries.

AI-generated description
MIT Licensed

Similar vizzes