viz.legend.mushrooms({
title: "Population and Wealth",
subtitle: "(in 2020)",
gap: 5,
top_title: "GDP (in bilions USD)",
top_title_fill: "#F13C47",
top_circle_fill: "#F13C47",
top_data: world.features.map((d) => d.properties.gdp / 1000000000),
bottom_title: "Population (in million inh.)",
bottom_title_fill: "#319ABF",
bottom_circle_fill: "#319ABF",
bottom_data: world.features.map((d) => d.properties.pop / 1000000),
note: "Source: world bank, 2022"
})