my data
✓ Published0🌍 Public
A bar chart displays the average salary by country, with bars colored according to a categorical "Purchased" field and tooltips revealing the corresponding name. It is built with the Vega-Lite API, which compiles specifications to Vega and renders as SVG, using the vega-lite-api, vega, and vega-tooltip libraries. Data is loaded asynchronously via d3.csv from a remote GitHub Gist, with the chart sized to fit the viewport and the appearance customized through a shared config object.
AI-generated descriptionA visualization constructed using the vega-lite-api.
MIT Licensed