Fork of Vega-Lite API Template
This scatter plot visualizes automobile fuel efficiency and performance using the Auto MPG dataset from the UCI Machine Learning Repository. It displays miles per gallon against horsepower, with color encoding origin and point size reflecting vehicle weight. The visualization is built programmatically using the Vega-Lite API, a JavaScript interface for declarative visualization, which generates specifications rendered through Vega and Vega-Lite. Data is loaded asynchronously via d3.csv, and interactive tooltips are enabled through the Vega Tooltip handler.