{"version":"1.0","type":"rich","title":"Iterating with Vega-Lite API","description":"This visualization displays automotive data as a bar chart, encoding horsepower along the x-axis and origin along the y-axis, with tooltips showing vehicle names. Built using Vega-Lite’s API, it leverages the `vl.markBar` and `vl.encode` methods to define the chart structure. The code loads the auto-mpg dataset via D3’s `csv` function, then renders the visualization with Vega-Lite and Vega, applying custom styling for axes and labels. The chart fills the browser window with bar size and opacity specified for readability.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/9e01495e25e741afacd59ac996963c91?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}