Vega-Lite API Template
✓ Published0🌍 Public
This example visualizes the top religions by country from a CSV dataset, using grouped bars to compare population counts across countries. It employs the Vega-Lite API to construct the chart, with D3.js loading the data and Vega-Tooltip providing interactive hover details. The visualization uses a dark theme with custom axis and label styling, rendering to SVG and fitting itself to the full browser window. The code also demonstrates registering Vega, Vega-Lite, and the API together for a streamlined charting workflow.
AI-generated descriptionA visualization constructed using the vega-lite-api.
MIT Licensed