Skip to main content
100%

rishita Vega-Lite API Template

✓ Published0🌍 Public
Rrishyossarian
Last edited Jan 4, 2022
Created on Jan 2, 2022

This example shows the distribution of religious populations across countries using a circular scatter plot, with each point’s color mapped to a religion and its vertical position encoding population size. The visualization is built with the Vega-Lite API, which is registered alongside Vega, Vega-Lite, and D3.js. Data is loaded asynchronously via D3’s CSV module from a GitHub Gist sourced from the UCI Auto MPG dataset. The chart uses a custom configuration to style axes and labels, and Vega Tooltip provides interactive hover details.

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