{"version":"1.0","type":"rich","title":"Vega-Lite API Bar Chart","description":"This bar chart visualizes the top five religions by country, with bars color-coded by religion and a tooltip displaying the religion name for each segment. The example demonstrates the Vega-Lite API for declarative chart construction, using `vl.markBar()` and `vl.encode()` to define marks and channels. It loads CSV data via `d3.csv` and renders with Vega-Lite, compiling to Vega for SVG output. The chart is customized through a config object that adjusts axis styling, font sizes, and colors, while the layout adapts to the window size.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/d79ae679d90c4f9a8414e4182c707d02?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}