Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Vega-Lite API Template

Public visualization

Viewing a saved revision (read-only)

dac8e0fa82fa459987bab2c9cfe9d887

Vega-Lite API Template

0 stars1🌍 Public
Ddavid-cv2
Last edited Nov 17, 2019
Created on Nov 17, 2019

This example visualizes automobile data from a CSV file, plotting engine displacement against horsepower with point color encoding model year and point size encoding weight. Tooltips expose the vehicle name. It uses the Vega-Lite API to construct the specification, registering Vega, Vega-Lite, and Vega-Tooltip within a D3-based application, rendering to SVG. Data is loaded asynchronously via d3.csv, and the visualization is sized to fit the browser window.

AI-generated description

A visualization constructed using the vega-lite-api.