Largest 5 Countries
✓ Published1🌍 Public
A bar chart displays the populations of the five most populous countries, sorted in descending order, with a tooltip revealing each country’s exact population value. The visualization is built using the Vega-Lite API, which programs a bar mark with a numeric y-axis and categorical x-axis, all rendered as an SVG via the `vl.render()` method. Data is fetched as CSV from a remote GitHub gist using D3’s `csv` function, with styling customized through a configuration object.
AI-generated descriptionA visualization constructed using the vega-lite-api.
MIT Licensed