Skip to main content
100%

Fork of Vega-Lite API Template

✓ Published0🌍 Public
SShmuel Leider
Last edited Jun 3, 2021
Created on Jun 3, 2021

This visualization displays a circular bubble chart of country populations by religion, using data from the UCI Machine Learning Repository Auto MPG dataset. Built with Vega-Lite API in a D3.js framework, the code registers Vega, Vega-Lite, and Vega-Tooltip to render an interactive scatter plot. The visualization encodes country on the x-axis, religion on the y-axis, and population as bubble size, with custom configuration for axis styling and tooltips. It loads data asynchronously via `d3.csv` and renders to an SVG canvas with automatic viewport fitting.

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.

MIT Licensed

Similar vizzes