Vega-Lite API Template - bar chart
✓ Published2🌍 Public
MMahesha999
Last edited Feb 7, 2022
Created on Feb 7, 2022
This bar chart, built with the Vega-Lite API, visualizes the population of each country in 2015. It encodes country names on the x-axis, sorted by population, with the quantitative population value on the y-axis. The visualization is generated from a CSV file loaded via d3’s `csv` function. The chart uses `markBar` for rendering, and a tooltip displays each country’s population on hover, with the chart sized to fit the window.
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.
My bookmarks:
MIT Licensed