Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Vega-Lite API Template

Public visualization

Vega-Lite API Template

0 stars0🌍 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.

Comments

Sign in to join the discussion.

MIT Licensed