🌍 Public
Viewing a saved revision (read-only)
fbc01b968a49474ba4263f513bf29ef0
Fork of Vega-Lite API Template 3
This visualization uses a Vega-Lite API specification to render a scatter plot of automobile data from a CSV file. Each circle represents a vehicle, positioned by origin and horsepower, with color encoding weight and size encoding miles per gallon (mpg), with tooltips showing the car name. The code builds the chart declaratively using the `vega-lite-api` library, registering it with vega and vega-lite, and loads data via d3.csv. Custom configuration adjusts font sizes and axis styling for readability.
AI-generated descriptionA visualization constructed using the vega-lite-api.