mapbox avatar

Mapbox Data Visualization Patterns

This covers the main ways to visualize data on Mapbox maps: choropleth maps for regional statistics, heat maps for point density, 3D extrusions for height data, and animated time series. The patterns are practical, showing when to use interpolate versus step for color scales, how to add hover popups without recreating them on every event, and zoom-dependent layer switching so heat maps transition to points at close range. It includes the data size rule that matters (under 1MB use GeoJSON, over 10MB switch to vector tiles) and references for clustering, animation, and performance optimization. The color accessibility section is worth reading if you're working with public-facing maps.

skills.sh installs
2.2K
GitHub stars
86
last updated
Aug 21, 2026

Install

$ npx -y skills add mapbox/mapbox-agent-skills --skill mapbox-data-visualization-patterns --agent claude-code

Installs into .claude/skills of the current project.

Files

Data Visualization Patterns Skill

Comprehensive patterns for visualizing data on Mapbox maps. Covers choropleth maps, heat maps, 3D extrusions, data-driven styling, animated visualizations, and performance optimization for data-heavy applications.

When to Use This Skill

Use this skill when:

  • Visualizing statistical data on maps (population, sales, demographics)
  • Creating choropleth maps with color-coded regions
  • Building heat maps or clustering for density visualization
  • Adding 3D visualizations (building heights, terrain elevation)
  • Implementing data-driven styling based on properties
  • Animating time-series data
  • Working with large datasets that require optimization

Visualization Types

Choropleth Maps

Best for: Regional data (states, counties, zip codes), statistical comparisons

Pattern: Color-code polygons based on data values

map.on('load', () => {
  // Add data source (GeoJSON with properties)
  map.addSource('states', {
    type: 'geojson',
    data: 'https://example.com/states.geojson' // Features with population property
  });

Sponsors

Details

Repository
github.com/mapbox/mapbox-agent-skills
Categories
AI & Agent Building, Data Science & ML, Debugging, Design & UI/UX
First seen
May 16, 2026

More from mapbox/mapbox-agent-skills

All 18
1lingzhi227 avatarcitation-managementlingzhi227/agent-research-skillsManage BibTeX citations for LaTeX papers. Harvest missing citations from a draft using Semantic Scholar, validate cite keys against .bib files, deduplicate entr2.2Kskills.sh installs
2k-dense-ai avatarlatex-postersk-dense-ai/scientific-agent-skillsCreate professional research posters in LaTeX using beamerposter, tikzposter, or baposter. Support for conference presentations, academic posters, and scientifi2.2Kskills.sh installs
3aj-geddes avatarjenkins-pipelineaj-geddes/useful-ai-promptsBuild Jenkins declarative and scripted pipelines with stages, agents, parameters, and plugins. Implement multi-branch pipelines and deployment automation.2.2Kskills.sh installs
4k-dense-ai avatarpyzoterok-dense-ai/scientific-agent-skillsInteract with Zotero reference management libraries using the pyzotero Python client. Retrieve, create, update, and delete items, collections, tags, and attachm2.1Kskills.sh installs
5k-dense-ai avatargenerate-imagek-dense-ai/scientific-agent-skillsGenerate or edit images with AI models through the OpenRouter Image API (Gemini, Seedream, Recraft, GPT-Image, Riverflow). Use for photos, illustrations, artwor2.1Kskills.sh installs
6databricks avatardatabricks-coredatabricks/databricks-agent-skillsDatabricks CLI operations and the parent/entry-point skill for Databricks CLI use: authentication, profile selection, and bundles. Load this first for CLI, auth2.1Kskills.sh installs