{"version":"1.0","type":"rich","title":"Vega-lite","description":"This example visualizes the relationship between vehicle weight, horsepower, and fuel efficiency (mpg) in a scatterplot. It uses the Vega-Lite API to declare point marks with multiple encodings—x maps to weight, y maps to horsepower, while color, size, and opacity encode additional quantitative fields. The code registers Vega-Lite with Vega and integrates React for rendering, loading data via `d3.csv` from an external auto-mpg dataset. Tooltips are enabled through the `vega-tooltip` Handler, and the chart auto-fits to the window dimensions.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/562480ef5d594dfdb14207e39f69f5fa?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}