Skip to main content
100%

Stacked Barchart Vega-Lite API Template

✓ Published0🌍 Public
Jjyotigpt790
Last edited Oct 26, 2020
Created on Oct 26, 2020

This stacked bar chart visualizes population distribution across countries by religion, using data from the UCI Machine Learning Repository’s Auto MPG dataset via a Gist. Built with the Vega-Lite API and D3.js (d3.v5), it encodes country on the x-axis, population on the y-axis, and religion as color, with tooltips showing population values. The visualization renders as an SVG, with custom font sizes and axis styling from a config file.

AI-generated description

A 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. //ep18

MIT Licensed

Similar vizzes