Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Largest 5 Countries

Public visualization

Largest 5 Countries

0 stars1🌍 Public
MMonish Vassantrai
Last edited Mar 12, 2021
Created on Mar 12, 2021

This visualization uses a bar chart to display the population counts of the largest 5 countries, with bars sorted by population size and labeled with country names. It is built with Vega-Lite API, which generates the chart using D3.js for rendering. Population data is loaded from a CSV file via D3’s `csv` function, and the tooltip shows the numeric population value. The chart is configured with customized axis styles and dark text for better readability, using the vega-tooltip handler for interactive display.

AI-generated description

A visualization constructed using the vega-lite-api.

Comments

Sign in to join the discussion.

MIT Licensed