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)

ce4031c2fba6407d83a34c5c0c496326

Fork of Vega-Lite API Template

0 stars0🌍 Public
Yyjhouma
Last edited Feb 2, 2022
Created on Feb 2, 2022

A bar chart visualizes the ratio of religions within each country’s population, with countries on the x-axis sorted by ratio and religions on the y-axis; color encodes the ratio, and hovering reveals the population value. The visualization uses the Vega-Lite API (vl) to define the bar marks and encodings, with data loaded from a CSV file via d3.csv. Rendering is handled by Vega and Vega-Lite, configured with custom axis and label styling, and the chart fits the full browser window using autosize.

AI-generated description

A visualization constructed using the vega-lite-api.