🌍 Public
Viewing a saved revision (read-only)
00d0364a23ec425a98cd9b6871cb04ac
Vega Bar Chart
This bar chart visualizes the top 20 countries by population, with bars colored by religion and sorted in descending order, using a zero-free y-axis scale to emphasize proportional differences. Built with the Vega-Lite API within a React framework, the visualization loads CSV data via d3.csv and renders an interactive SVG with tooltips through the Vega tooltip handler. The configuration applies custom dark styling to axis labels and titles, while the chart responsively fits the full window dimensions.
AI-generated descriptionVega Lite API