🌍 Public
[Vega-Lite] 3.1 HTML setup
This example demonstrates a blank HTML page set up as a minimal foundation for embedding Vega-Lite visualizations. The page loads the Vega 5, Vega-Lite 5, and Vega-Embed 6 libraries from the jsDelivr CDN, with an empty `<div id="vis">` element where a chart would be rendered. The setup uses plain HTML with JavaScript library includes, rather than any React or other framework integration. The accompanying README references a React starter alternative, but the code itself shows only the static HTML scaffolding, defining the necessary dependencies for future chart creation.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed
![[Vega-Lite] 3.1 HTML setup](/viz/3e3a58eba5f34f4699e73a31afb57ba2/social-image.png?v=842bf049265d40e49e791740c66d813b)
![[Vega-Lite] 3.1 HTML setup](/viz/664de81696c445c4932c8d98016fc515/social-image.png?v=4fad2e1c977349919558faf82ab7e889)

![[Vega-Lite] 3.1 HTML setup](/viz/7bfb1d170ff04abaa314e0f4f61c870c/social-image.png?v=641d508ee78045d199f5c064380659be)
![Fork of [Vega-Lite] 3.1 HTML setup](/viz/32df8e7cf79847ec8b9f66580dca8ba9/social-image.png?v=ff2988201f8f4c6e9715744df6be0065)


![[Vega-Lite] 3.1 HTML setup](/viz/d2e9defde5384516a19738f869ad708d/social-image.png?v=5cf2d4b67a3545e2a3c0fa1c1c492f80)
Comments
Sign in to join the discussion.