Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Vega-Lite API Template

Public visualization

Viewing a saved revision (read-only)

10cf3ec7bb24433fa301ba8171299ab5

Fork of Vega-Lite API Template

0 stars0🌍 Public
Hhimchan94
Last edited Sep 8, 2021
Created on Sep 8, 2021

The chart displays the population of each country as horizontal bars, sorted in descending order, with tooltips revealing the exact population value on hover. Built using the Vega-Lite API within a D3.js framework, the visualization is rendered as an SVG and dynamically sized to fit the browser window. The code fetches a CSV dataset from a GitHub gist and applies custom styling to axes and guide labels for improved readability.

AI-generated description

A visualization constructed using the vega-lite-api.