Visualize population density
Use a variable binding expression to calculate and display population density.
In this example, we use the population and area variables to create a choropleth map that visually represents the population density.
Related examples
An extension of MapLibre GL JS