Geospatial
Interactive

Choropleth Map

Choropleth maps use color gradients to represent statistical values across defined geographic regions such as countries, states, or counties. Each region is shaded according to its data value, creating a powerful visualization for comparing metrics across geography. These maps are widely used in demographics, election results, epidemiology, and economic analysis. When creating choropleths, consider using appropriate color scales and potentially logarithmic transformations for skewed data.

Interactive Visualization

Loading interactive chart...

This is an interactive choropleth map. You can zoom, pan, and hover over elements for details.

Try this prompt

"Create an interactive world choropleth map showing 'GDP per Capita by Country' for 2023. Generate realistic data for 50+ countries ranging from $800 (lowest) to $85,000 (highest). Use a logarithmic Viridis color scale to handle the skewed distribution. Add hover tooltips showing country name, GDP per capita formatted as currency, and world ranking. Include a color bar legend with properly formatted tick labels ($1K, $10K, $100K). Use 'natural earth' projection, show coastlines but hide frame. Add a descriptive title and data source annotation."
Generate this now

Python Code Example

Loading code...

Common Use Cases

  • 1Visualizing population density by region
  • 2Election results by state or county
  • 3COVID-19 case rates by country
  • 4Economic indicators across nations

Pro Tips

Use diverging color scales for data with meaningful midpoint

Consider logarithmic scales for highly skewed data

Add hover information for exact values