Fork of Vega-Lite API Template
A scatter plot correlated with car weight and horsepower reveals relationships between vehicle attributes for the Auto MPG dataset from UCI. The visualization encodes engine displacement, acceleration, and origin via point size, color, and tooltip. Built with the Vega-Lite API, the code uses `vl.markCircle`, `vl.x().fieldQ()`, and `vl.y().fieldQ()` to map quantitative fields, while `vl.color().fieldN()` applies categorical coloring. Data loads asynchronously via d3.csv from a Gist URL, and the view renders dynamically to the window size.