Vega-Lite API Template - religion - stacked bar chart
✓ Published1🌍 Public
This stacked bar chart visualizes the distribution of religious affiliations across countries, using data from the UCI Machine Learning Repository via a Gist. The chart is built with the Vega-Lite API, running on top of Vega, Vega-Lite, and D3, and renders as an SVG. Population values are encoded on the y-axis, countries on the x-axis sorted by total y-values, and religion mapped to color. The code includes a custom config for dark-axis styling and employs Vega Tooltip for interactive hover details.
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.
My bookmarks:
MIT Licensed