Vega-Lite API Template
✓ Published0🌍 Public
This visualization presents a stacked bar chart of top-country populations by religion, drawn from the UCI Machine Learning Repository’s Auto MPG dataset via a Gist. Built with the Vega-Lite API wrapper, it registers Vega and Vega-Lite libraries, using `vl.markBar`, `vl.x().fieldN('country').sort('-y')`, and `vl.y().fieldQ('population')` to encode positions. The `config.js` customizes axis and label styles, while `getData.js` loads CSV data via `d3.csv`. Interactive tooltips are enabled through the vega-tooltip `Handler`.
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