Fork of Vega-Lite API Template
This example uses the Vega-Lite API to create a scatterplot of automotive data, mapping engine horsepower against fuel efficiency (mpg) with points colored by country of origin. The visualization loads a CSV dataset via d3.csv, applies custom axis and label styling from the config, and renders circles with tooltips showing car names. It demonstrates the vega-lite-api wrapper for declarative chart construction, utilizing vl.markCircle, vl.x, vl.y, and vl.tooltip encodings, with vega-tooltip for interactive hover details.