Skip to main content
100%

Vega-Lite API Template

✓ Published0🌍 Public
AAustin Pagotto
Last edited Aug 4, 2020
Created on Aug 4, 2020

This visualization uses a scatter plot to explore the relationship between engine displacement and horsepower in automobile data. The data is loaded from a CSV file fetched from a gist URL using the `d3.csv` function. Built with the Vega-Lite API, the example registers Vega and Vega-Lite, configures an SVG renderer, and adds tooltips via the `vega-tooltip` Handler. Point marks are encoded with quantitative fields on both axes, scaled with `zero: false`, and include a tooltip displaying the vehicle name, with overall appearance customized in a separate config file.

AI-generated description

A visualization constructed using the vega-lite-api.

MIT Licensed

Similar vizzes