🌍 Public
Vega-Lite API Template
This example shows a bare-bones HTML page that renders static text and logs a message to the browser console. It demonstrates the minimal setup for a Vega-Lite API project, where the `vis.js` file defines a scatter plot using `vl.markPoint()` with `vl.x().fieldQ('acceleration')`, `vl.x().fieldQ('horsepower')`, and `vl.tooltip().fieldN('name')`. However, the visualization is not actually rendered in the page, which only contains inline CSS and a JavaScript `console.log` call.
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/b21cb24eb71e430a95c4acaf800b1132/social-image.png?v=cffe682f0d874b99b707b6726eec9915)
![[Vega-Lite] 3.1 HTML setup](/viz/664de81696c445c4932c8d98016fc515/social-image.png?v=4fad2e1c977349919558faf82ab7e889)

![[Vega-Lite] 3.1 HTML setup](/viz/3e3a58eba5f34f4699e73a31afb57ba2/social-image.png?v=842bf049265d40e49e791740c66d813b)
![[Vega-Lite] 3.1 HTML setup](/viz/7bfb1d170ff04abaa314e0f4f61c870c/social-image.png?v=641d508ee78045d199f5c064380659be)


Comments
Sign in to join the discussion.