Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Vega-Lite API Template

Public visualization

Viewing a saved revision (read-only)

cf523f2588db4774bbd1c4610e6c6937

Fork of Vega-Lite API Template

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