Skip to main content
100%

Fork of Vega-Lite API Template

✓ Published0🌍 Public
Mmail.lohade@gmail.com
Last edited Jul 9, 2024
Created on Jul 9, 2024

This example visualizes automobile performance data, plotting engine weight against horsepower for individual car models. The scatter plot encodes car origin through color, while point size reflects fuel efficiency (mpg). It uses the Vega-Lite API (vl.markPoint, vl.x, vl.y) to compose the visualization declaratively, with data loaded from a CSV via d3.csv. The vega view renders as SVG, and vega-tooltip provides interactive hover details. Appearance is customized through a config object that adjusts axis styling and typography.

AI-generated description

A visualization constructed using the vega-lite-api.

MIT Licensed

Similar vizzes