Vega light API demo
This example demonstrates a scatter plot of automotive data from the UCI Machine Learning Repository’s Auto MPG dataset, visualizing fuel efficiency (mpg) against horsepower, with point color encoding country of origin, size encoding vehicle weight, and tooltips showing model names. Built with the Vega-Lite API, the visualization leverages `vl.markCircle`, `vl.x()`, `vl.y()`, and `vl.encode()` to define the specification programmatically, while d3.csv loads the remote data. The chart is rendered as an SVG and includes custom axis styling and tooltip handling via vega-tooltip.