{"version":"1.0","type":"rich","title":"Vega-Lite API - Bars","description":"This example uses the Vega-Lite API to render an interactive bar chart of the top five religions by country population, sourced from a CSV file via d3.csv. The visualization encodes country on the x-axis, population on the y-axis, and religion as color, with a tooltip showing population on hover. It leverages vega-lite-api’s `markBar`, `encode`, `fieldN`, and `fieldQ` methods, along with d3.v5 for data loading. The chart is configured with a custom dark theme and automatically fits the full browser window size.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/ea71a757a61243e8891a5b2575a1f75a?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}