Skip to main content
100%

Fork of Vega-Lite API Template

✓ Published0🌍 Public
Lltostes
Last edited Jun 15, 2021
Created on Jun 15, 2021

This example plots automobile engine displacement against horsepower using a scatterplot overlaid on the full browser window. The data is loaded from a remote CSV file and rendered with the Vega-Lite API, which translates a declarative specification into an interactive visualization. The visualization uses the `vl` module to define the point marks, encoding x and y positions from quantitative fields, while enabling tooltips that display the car model name. Accompanying `config.js` settings customize axis appearance, and the `index.js` script registers the Vega and Vega-Lite libraries, applies the custom config, and appends the rendered SVG to the page.

AI-generated description

A visualization constructed using the vega-lite-api.

MIT Licensed

Similar vizzes