Skip to main content
๐ŸŒ Public

Share visualization

Send this visualization to others.

Iterating Fast with Vega-Lite API

Public visualization

Iterating Fast with Vega-Lite API

0 stars0๐ŸŒ Public
AAhsan Ehtesham
Last edited Aug 6, 2021
Created on Aug 6, 2021

This interactive bar chart visualizes the top 5 religious groups by population across countries, using data from the UCI Machine Learning Repository via a Gist. Built with the Vega-Lite API, the visualization encodes country on the x-axis, population on the y-axis, and religion as color, with tooltips showing religious affiliation. The code registers Vega and Vega-Lite libraries, configures a dark-themed custom axis style, loads CSV data using d3.csv, and renders the chart with an auto-fit, full-viewport layout.

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.

Comments

Sign in to join the discussion.

MIT Licensed