New advertisers: 50% off your first month with code FIRSTMONTHSee slots
mapbox avatar

Mapbox Data Visualization Patterns

Data visualization patterns for maps covering choropleth, heat map, 3D, and animated data layers.

skills.sh installs
2.2K
GitHub stars
87
last updated
Aug 21, 2026
View on GitHub

What it does

  • Covers choropleth maps, heat maps, 3D extrusions, data-driven styling, and animated time-series visualizations
  • Includes color scale strategies (linear interpolation, step buckets, and categorical match) plus ColorBrewer-based palettes for accessibility
  • Advises step over interpolate when data has natural categories, and gives a size rule: GeoJSON under 1 MB, vector tiles above 10 MB
  • Designed for developers building data-heavy Mapbox GL applications that need statistical, density, or temporal map layers

Install

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

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

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
  });

Details

Repository
github.com/mapbox/mapbox-agent-skills
Categories
Frontend & UI Code, Data Science & Analytics
First seen
May 16, 2026

More from mapbox/mapbox-agent-skills

All 18

Similar to Mapbox Data Visualization Patterns

More Frontend & UI Code