Fork of Vega-Lite API Template
✓ Published0🌍 Public
This visualization displays a horizontal bar chart showing population counts by country, with each bar color-coded by religion. The chart is built using the vega-lite-api library, which registers Vega and Vega-Lite to render SVG output. Data is loaded asynchronously via d3.csv from a GitHub Gist containing religion-by-country statistics. The visualization uses quantitative population fields for the y-axis, nominal country fields for the x-axis, and nominal religion fields for color encoding, with tooltips enabled through vega-tooltip.
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