Fork of Vega-Lite API Template 2019 - Ronan
✓ Published0🌍 Public
This example presents a ranked bar chart of country populations, with bars sorted in descending order and sized at a fixed width. The visualization loads population data from a CSV file hosted on GitHub, then renders it using the Vega-Lite API, which builds on Vega and Vega-Lite. The code registers the Vega-Lite API with D3’s CSV loader, applies a custom configuration for axis styling and font sizes, and fits the chart to the full window dimensions. Tooltips display the country name on hover, and the rendering uses SVG output.
AI-generated descriptionA visualization constructed using the vega-lite-api.
MIT Licensed