Vega-Lite API Template
This visualization displays the Auto MPG dataset, showing the relationship between acceleration, horsepower, origin, and weight for various car models. Using the Vega-Lite API, the code constructs a scatter plot with a custom dark theme and tooltips, rendering through the vega and vega-lite libraries. Data is loaded asynchronously via the d3.csv function, and the visualization is configured to fit the viewport size, emphasizing interactive exploration of the data.