Skip to content

Commit ccf1239

Browse files
spec: add scatter-map-geographic specification (#3618)
## New Specification: `scatter-map-geographic` Related to #3617 --- ### specification.md # scatter-map-geographic: Scatter Map with Geographic Points ## Description A geographic scatter plot that displays data points on a world or regional map, with each point positioned by its latitude and longitude coordinates. This visualization is ideal for showing spatial distributions of events, locations, or measurements across geographic areas. Points can optionally encode additional variables through size and color, enabling multi-dimensional geographic analysis at a glance. ## Applications - Visualizing earthquake epicenters or natural disaster locations with magnitude encoded as point size - Mapping customer or store locations with sales volume represented by point size and category by color - Displaying sensor network readings across a geographic region with measurement values encoded in color - Tracking wildlife sightings or species distribution with population counts as point size ## Data - `latitude` (numeric) - Geographic latitude coordinate (-90 to 90) - `longitude` (numeric) - Geographic longitude coordinate (-180 to 180) - `value` (numeric, optional) - Variable for color encoding (e.g., measurement, category code) - `size` (numeric, optional) - Variable for point size encoding (e.g., magnitude, count) - `label` (string, optional) - Point label or identifier for tooltips - Size: 20-500 points (works well with moderate density; too many points may require clustering) - Example: City locations with population and region, earthquake data with magnitude and depth ## Notes - Use an appropriate map projection (e.g., Natural Earth, Robinson for world maps; Mercator for regional/city scale) - Include a basemap showing country boundaries, coastlines, or terrain for geographic context - Add a color legend when color encoding is used, and a size legend when size varies - Consider using transparency (alpha) to handle overlapping points in dense regions - For interactive libraries, enable zoom and pan to explore point clusters - Ensure point colors have sufficient contrast against the basemap --- **Next:** Add `approved` label to the issue to merge this PR. --- :robot: *[spec-create workflow](https://github.com/MarkusNeusinger/pyplots/actions/runs/20872381139)* Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent 2bb0ffd commit ccf1239

2 files changed

Lines changed: 60 additions & 0 deletions

File tree

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# scatter-map-geographic: Scatter Map with Geographic Points
2+
3+
## Description
4+
5+
A geographic scatter plot that displays data points on a world or regional map, with each point positioned by its latitude and longitude coordinates. This visualization is ideal for showing spatial distributions of events, locations, or measurements across geographic areas. Points can optionally encode additional variables through size and color, enabling multi-dimensional geographic analysis at a glance.
6+
7+
## Applications
8+
9+
- Visualizing earthquake epicenters or natural disaster locations with magnitude encoded as point size
10+
- Mapping customer or store locations with sales volume represented by point size and category by color
11+
- Displaying sensor network readings across a geographic region with measurement values encoded in color
12+
- Tracking wildlife sightings or species distribution with population counts as point size
13+
14+
## Data
15+
16+
- `latitude` (numeric) - Geographic latitude coordinate (-90 to 90)
17+
- `longitude` (numeric) - Geographic longitude coordinate (-180 to 180)
18+
- `value` (numeric, optional) - Variable for color encoding (e.g., measurement, category code)
19+
- `size` (numeric, optional) - Variable for point size encoding (e.g., magnitude, count)
20+
- `label` (string, optional) - Point label or identifier for tooltips
21+
- Size: 20-500 points (works well with moderate density; too many points may require clustering)
22+
- Example: City locations with population and region, earthquake data with magnitude and depth
23+
24+
## Notes
25+
26+
- Use an appropriate map projection (e.g., Natural Earth, Robinson for world maps; Mercator for regional/city scale)
27+
- Include a basemap showing country boundaries, coastlines, or terrain for geographic context
28+
- Add a color legend when color encoding is used, and a size legend when size varies
29+
- Consider using transparency (alpha) to handle overlapping points in dense regions
30+
- For interactive libraries, enable zoom and pan to explore point clusters
31+
- Ensure point colors have sufficient contrast against the basemap
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# Specification-level metadata for scatter-map-geographic
2+
# Auto-synced to PostgreSQL on push to main
3+
4+
spec_id: scatter-map-geographic
5+
title: Scatter Map with Geographic Points
6+
7+
# Specification tracking
8+
created: 2026-01-10T03:53:51Z
9+
updated: null
10+
issue: 3617
11+
suggested: MarkusNeusinger
12+
13+
# Classification tags (applies to all library implementations)
14+
# See docs/reference/tagging-system.md for detailed guidelines
15+
tags:
16+
plot_type:
17+
- scatter
18+
- map
19+
data_type:
20+
- geospatial
21+
- numeric
22+
domain:
23+
- general
24+
- science
25+
- business
26+
features:
27+
- basic
28+
- color-mapped
29+
- proportional

0 commit comments

Comments
 (0)