Fork of Vega-Lite API Template
This example visualizes the Auto MPG dataset from the UCI Machine Learning Repository. A scatter plot maps miles per gallon and horsepower, with each point’s size encoding vehicle weight and color distinguishing country of origin. Hovering reveals the car’s name via a tooltip. Built with the Vega-Lite API in a D3.js framework, the code uses `vl.markCircle` and `vl.encode` to construct the visualization, with `d3.csv` fetching the data and `vega-tooltip` providing interactivity.