Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

my data

Public visualization

Viewing a saved revision (read-only)

8cb26a38e26d4b4ab6816f96c7fbf891

my data

0 stars0🌍 Public
Mmail.lohade@gmail.com
Last edited Jul 9, 2024
Created on Jul 9, 2024

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 description

A visualization constructed using the vega-lite-api.