Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Vega Lite API

Public visualization

Viewing a saved revision (read-only)

74b96e3f1d6142968955a1033c9e59da

Vega Lite API

0 stars0🌍 Public
PPedro Henrique Vanali
Last edited Jun 16, 2023
Created on Jun 16, 2023

This example demonstrates a bar chart of population by country, built using the Vega Lite API within a React application. The chart sorts countries by population in descending order and displays a tooltip with the population value for each bar. The visualization is rendered as an SVG, using the Vega, Vega-Lite, and Vega-Lite API libraries, along with D3 for data loading. The data is fetched from a remote CSV file containing population figures by country.

AI-generated description

Smiley face implementation with React & D3.