{"version":"1.0","type":"rich","title":"11. Vega-Lite API","description":"This example demonstrates how to build an interactive scatter plot using the Vega-Lite API, visualizing automobile data from a CSV file. The plot displays fuel efficiency (mpg) on the x-axis and horsepower on the y-axis, with circles colored by country of origin, sized by horsepower, and showing tooltips with car names on hover. The code uses the `vl` API from `vega-lite-api` to construct the visualization declaratively, registers it with `vega` and `vega-lite`, and loads data via `d3.csv`. The chart fits the full window with a custom dark-themed configuration, using SVG rendering and the `vega-tooltip` handler.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/e961b9d420c2476faa56b522d863c246?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}