🌍 Public
Viewing a saved revision (read-only)
25eca09628294ba5a8065bbc0bef7b4d
Fork of Vega-Lite API Template
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 descriptionA visualization constructed using the vega-lite-api.