Skip to main content
๐ŸŒ Public

Share visualization

Send this visualization to others.

Largest 5 countries

Public visualization

Largest 5 countries

0 stars0๐ŸŒ Public
SShashwat Kumar
Last edited Jul 22, 2021
Created on Jul 22, 2021

This visualization presents the largest 5 countries by population, using horizontal bars segmented by religion to show the distribution within each country. Built with the Vega-Lite API, it loads data from a CSV file and renders the chart using SVG. The code configures axis styles, tooltips, and uses a custom `config.js` for appearance, with the final visualization fit to the window size. It leverages the vega-lite-api library, d3.csv for data loading, and vega-tooltip for interactivity.

AI-generated description

A visualization constructed using the vega-lite-api.

Comments

Sign in to join the discussion.

MIT Licensed