See here for the example code that generated this page

GeoPlot Examples

This page demonstrates the GeoPlot chart type in JSPlots for geographic data visualization.

GeoPlot supports two modes:

Note: Maps require an internet connection to load tiles and boundary data from CDNs.




Major US Cities by Population

Marker size and color indicate population in millions. Click on markers for details. Use the filter to show cities by region.

0.6
2.0

Data: cities_data




US State Population (2020 Census)

Population in millions. Hover over states to see values. Data from 2020 US Census.

0.6
2.0

Data: states_data




World GDP by Country (2023)

GDP in trillion USD (nominal). Countries without data shown in gray. Data from IMF estimates.

0.6
2.0

Data: gdp_data




Simulated Earthquake Data - Pacific Ring of Fire

Color indicates magnitude (darker = stronger). Size indicates depth (larger = deeper). Filter by region to focus on specific areas. This is simulated data for demonstration.

0.6
2.0

Data: quake_data




Example 5: Earthquake Data with Single-Select Choice

This example demonstrates the difference between choices and filters: - **region (choice)**: Single-select dropdown - pick exactly ONE region at a time Compare with Example 4 which uses filters (multi-select) on the same data. Use choices when the user must select exactly one option.

0.6
2.0

Data: quake_data




Global Office Locations

Click on markers to see office details. Color intensity indicates number of employees.

0.6
2.0

Data: office_data




Country Statistics - Multiple Overlays

Use the Overlay dropdown to switch between Population, Area, and GDP per Capita. This demonstrates how to provide multiple data columns that users can switch between.

0.6
2.0

Data: country_stats_data


This page was created using JSPlots.jl v0.6.3.