Fork of Vega-Lite API Template
✓ Published0🌍 Public
This example shows a bubble chart of religious demographics by country, using circle size to encode population and color to distinguish religions. The visualization is built with the Vega-Lite API, which is registered with Vega and Vega-Lite libraries, then rendered as an SVG canvas. Data is loaded from a CSV file containing religion statistics by country, fetched via d3.csv. The chart is configured with custom axis styling and tooltip handlers from vega-tooltip, and it dynamically fits its dimensions to the browser window size.
AI-generated descriptionA visualization constructed using the vega-lite-api.
The data shown here comes from the UCI Machine Learning Repository: Auto MPG Data Set, via Gist: Scatter Plot with Menus.
MIT Licensed