Fork of Vega-Lite API Template
✓ Published0🌍 Public
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.
MIT Licensed