-
Notifications
You must be signed in to change notification settings - Fork 0
Add mapbox-data-visualization-patterns skill #15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
mattpodwysocki
wants to merge
11
commits into
main
Choose a base branch
from
add-data-visualization-patterns-skill
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Comprehensive data visualization skill covering: - Choropleth maps with color-coded regions - Heat maps for point density visualization - Bubble/circle maps for magnitude display - 3D extrusions for height-based visualization - Line visualization for flow and network data - Animated data (time-series and real-time updates) - Data-driven styling with Mapbox expressions Advanced techniques: - Color scales and accessibility (ColorBrewer) - Feature state for dynamic styling - Client-side filtering - Progressive loading - Performance optimization patterns Visualization type decision matrix: - Regional/polygons → Choropleth (fill layer) - Point density → Heat map (heatmap layer) - Point magnitude → Bubble map (circle layer) - 3D data → Extrusions (fill-extrusion layer) - Flow/network → Lines (line layer) Common use cases: - Election results - COVID-19 tracking - Real estate prices - Traffic flow - Weather visualization Includes SKILL.md (comprehensive guide) and AGENTS.md (quick reference). Co-Authored-By: Claude Sonnet 4.5 <[email protected]>
Add terms for navigation, store locator, data visualization, and web components: - dropin: Android Navigation SDK NavigationView - millis: currentTimeMillis suffix - Haversine: distance calculation formula - Jenks: statistical classification method - colorbrewer: ColorBrewer color scales tool - htmlelement: Web Components HTMLElement - customelements: Web Components API - currenttime: time-related functions
3 tasks
…n-patterns-skill # Conflicts: # README.md # skills/README.md
Co-Authored-By: Claude Sonnet 4.5 <[email protected]>
Co-Authored-By: Claude Sonnet 4.5 <[email protected]>
Critical fixes: - Fix invalid JavaScript syntax in AGENTS.md (array chaining with ][) - Fix popup memory leak in choropleth hover example (reuse popup instance) - Fix invalid color codes (#red, #blue) to valid hex codes Major fixes: - Add geometry type handling in progressive loading (Point, LineString, Polygon) - Add debouncing to moveend event (150ms) to prevent excessive updates - Fix classybrew reference with proper import and usage Additional improvements: - Add division by zero check in normalizeData function Co-Authored-By: Claude Sonnet 4.5 <[email protected]>
Co-Authored-By: Claude Sonnet 4.5 <[email protected]>
Co-Authored-By: Claude Sonnet 4.5 <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Adds comprehensive data visualization skill covering choropleth maps, heat maps, 3D extrusions, bubble maps, line visualization, and animated data patterns.
What's Included
SKILL.md - Comprehensive data visualization guide covering:
AGENTS.md - Compressed quick reference (2-4KB) with:
Visualization Type Decision Matrix
fillheatmapcirclefill-extrusionlinePatterns Covered
Choropleth Maps
Heat Maps
Bubble Maps
3D Extrusions
Line Visualization
Animated Data
Performance Techniques
Data Size Guidelines:
Optimization Patterns:
Color Accessibility
Includes ColorBrewer scales:
Common Use Cases
Complete examples for:
Testing
Part of tutorial-based skills series (3 of 3). Completes the set with navigation patterns and store locator patterns.