Fork of Vega-Lite API Template
✓ Published1🌍 Public
This example visualizes the relationship between acceleration, horsepower, and origin for automobiles in the UCI Machine Learning Repository’s Auto MPG dataset. Each car is plotted as a semitransparent circle, with color encoding the country of origin and tooltips revealing the model name. Built using the Vega-Lite API, the visualization loads data via d3.csv, renders with Vega’s SVG output, and applies custom axis and label styling from a shared configuration. The chart resizes to fit the browser window and uses Vega Tooltip for interactive hover details.
AI-generated descriptionA visualization constructed using the vega-lite-api.
The data shown here comes from the UCI Machine Learning Repository: Auto MPG Data Set, via Gist: Scatter Plot with Menus.
MIT Licensed