Skip to main content
100%

Fork of [Vega-Lite] 3.1 HTML setup

✓ Published0🌍 Public
Ee-haentjens
Last edited Mar 16, 2022
Created on Mar 16, 2022

This example shows a simple line chart tracking the S&P 500 price over time, rendered inside a dedicated HTML container. The visualization loads a remote CSV dataset and maps the temporal date field to the x-axis and the quantitative price field to the y-axis. Built on Vega-Lite 5, the chart specification is defined in a JSON file and embedded into the page using `vegaEmbed`, which coordinates the Vega 5 runtime and rendering engine. The setup demonstrates a minimal HTML structure that combines external CDN scripts for Vega, Vega-Lite, and Vega-Embed to produce the chart.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes