Fork of Fork of Vega-Lite API Template
✓ Published0🌍 Public
This visualization uses a bubble chart to show the distribution of countries and religions by population, sourced from the UCI Machine Learning Repository’s Auto MPG data set. It employs the Vega-Lite API for declarative chart construction, rendered via the Vega and Vega-Lite engines. The code loads CSV data with `d3.csv`, encodes circle size from population using `vl.size().fieldQ`, and customizes axis styling and tooltips through `config.js` and the Vega-Tooltip handler. The visualization is displayed as an SVG, with automatic sizing to fit the browser window.
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