{"version":"1.0","type":"rich","title":"Vega Lite API Template","description":"This example shows a bar chart of population by country, colored by religion, using the Vega-Lite API within a React application. It renders stacked bars that sort countries by population and include tooltips for each data segment. The code loads CSV data from a GitHub gist via d3.csv, configures a dark theme with custom axis and label styles, and uses Vega-Lite’s declarative API to encode the chart. Vega and Vega-Lite are registered with a tooltip handler, and the final visualization is appended to the document body.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/fad9357f81714340adc597fc0cf892be?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}