🌍 Public
Viewing a saved revision (read-only)
3c2e68b107434c459bbc9a8e5487138e
Vega-Lite FLights by Country
This visualization shows the number of flights per country as a bar chart, with each bar colored by country and sized proportionally to the flight count. It uses the Vega-Lite API to encode the data, with country on the x-axis and an aggregated count of flights on the y-axis, displayed as bars with a fixed size and full opacity. The data is loaded asynchronously via d3.csv from a raw GitHub dataset, and the chart is rendered to SVG using the Vega-Lite runtime with a custom config for axis styling and tooltip support.
AI-generated descriptionA visualization constructed using the vega-lite-api.