Fork of Vega-Lite API Template - test
✓ Published0🌍 Public
This example shows a bar chart of population by country, using data loaded from a CSV file. The visualization is built with Vega-Lite and the Vega-Lite API, with D3.js handling data fetching. It uses the `vl.markBar()` method to encode the country field on the x-axis and population on the y-axis, with tooltips displaying population values. The chart auto-sizes to fill the browser window and applies custom axis and label styling for readability.
AI-generated descriptionA visualization constructed using the vega-lite-api.
The data shown here comes from the UCI Machine Learning Repository: Auto MPG Data Set, via Gist: Scatter Plot with Menus.
MIT Licensed