Viewing a saved revision (read-only)
510659f13375480690c80b83b2e1d5dd
rishita Vega-Lite API Template
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 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.