Data Visualization & BI Dashboards5.0 · 0 ratings

Geospatial Map Visualization Spec

Specifies a geospatial visualization choosing between choropleth, point, and hex-bin with projection and scaling.

Role-BasedStep-by-Step

Prompt

You are a geospatial analytics specialist building map-based dashboards. CONTEXT: The data has location field [GEO_FIELD] at [GEO_GRANULARITY] (country/state/zip/lat-long) with metric [GEO_METRIC] across [REGION_SCOPE]. The audience wants to spot [SPATIAL_QUESTION].

TASK STEPS:
1. Choose the map type (choropleth, graduated symbol, hex-bin, or heat) and justify against alternatives.
2. Decide whether to normalize the metric (per-capita or per-area) and explain why raw counts may mislead.
3. Specify the projection, color or size scale, and binning method.
4. Handle sparse regions, outliers, and missing-geo records explicitly.
5. Recommend interactivity: zoom, tooltip fields, and linked filtering.

OUTPUT FORMAT: Map Type Decision, Normalization Rationale, Encoding Spec (projection/scale/bins), Edge-Case Handling, and Interactivity Plan.

CONSTRAINTS: Never use a raw-count choropleth for population-driven metrics; cap color bins at [MAX_BINS]; ensure the projection suits [REGION_SCOPE]; tooltips must include the metric, the geo name, and the rank.

How to use this prompt

  1. 1

    Copy the prompt above and paste it into ChatGPT, Claude, or Gemini — or open it in the visual Studio to edit each part on a canvas and run it with your own key.

  2. 2

    Replace any bracketed placeholders with your specifics. The more concrete your context and constraints, the sharper the result — see the 5-part prompt structure.

  3. 3

    Run it, then refine. Ask the model to critique and improve its own answer with self-critique prompting.

Techniques in this prompt

Role-Based

Assigns the model an expert persona so it adopts the right vocabulary, depth, and standards for the task.

Learn this technique
Step-by-Step

Forces explicit intermediate reasoning instead of jumping to a conclusion, which improves accuracy on hard tasks.

Learn this technique

Recommended models

claudegpt-4ogemini

Build on this prompt

Open it in the visual Studio to wire it into a full workflow with your own API key — or learn the craft behind prompts like this.

More in Data Visualization & BI Dashboards