{"version":"1.0","type":"rich","title":"Vega-Lite API - sankey diagram","description":"This example uses the Vega-Lite API to construct a stacked bar chart showing the population of different religions by country. The visualization reads CSV data from a remote URL, which contains the top five religions per country. It employs `markBar` with x- and y-encodings for country and population, color-encoding by religion, and a tooltip for population values. The code registers Vega, Vega-Lite, and Vega-Tooltip, rendering the chart as an SVG that fits the window size. A custom config adjusts axis and label styling for improved readability.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/95bd208dc6c04b48b1539bbaf0571e50?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}