Skip to main content
100%

Fork of Vega-Lite API Template

✓ Published0🌍 Public
Llingfa
Last edited Oct 27, 2022
Created on Oct 27, 2022

This example visualizes the relationship between engine displacement and vehicle weight using a scatter plot of the auto-mpg dataset. The visualization is built with the Vega-Lite API, which registers Vega and Vega-Lite libraries to render an interactive SVG chart. Points are styled with size, opacity, and tooltips showing car names, while the chart automatically fits the window dimensions. Data loading uses D3's `csv` function, and appearance is customized through a reusable configuration object that adjusts axis labels, titles, and tooltip styling.

AI-generated description

A visualization constructed using the vega-lite-api.

MIT Licensed

Similar vizzes