maps_skill

This skill helps you create interactive map visualizations with topojson and dotted maps, enabling choropleth coloring, pins, and regional insights.

378

GitHub Stars

1

Bundled Files

2 months ago

Catalog Refreshed

4 months ago

First Indexed

Readme & install

Copy the install command, review bundled files from the catalogue, and read any extended description pulled from the listing source.

Installation

Preview and clipboard use veilstrat where the catalogue uses aiagentskills.

npx veilstrat add skill dennisadriaans/vue-chrts --skill maps

  • SKILL.md9.0 KB

Overview

This skill provides two Vue 3 map components for building geographic visualizations: TopoJSONMap for full-featured region maps and DottedMap for stylized dot-matrix world maps. It is optimized for choropleths, point markers, links, and minimalist global views. Use it to turn geographic data into interactive, production-ready visuals in Vue applications.

How this skill works

TopoJSONMap renders geographic areas from a TopoJSON object and overlays data-driven fills, points, and links. You provide topoJson, a mapFeatureKey to match data entries to features, and optional accessors for colors, sizes, and labels. DottedMap renders a dot-grid representation of landmasses and places pins using latitude/longitude; it accepts options for grid shape, per-country colors, region cropping, and precomputed maps for performance.

When to use it

  • Create choropleth maps by coloring regions based on metrics (population, sales, risk).
  • Show city or office locations with labeled pins and size-scaled points.
  • Visualize network links between geographic points (routes, flows).
  • Design minimalist global overviews or product presence maps using dot matrices.
  • Focus on a specific region or subset of countries with region or country filters.

Best practices

  • Always supply valid TopoJSON for TopoJSONMap; match features using a stable mapFeatureKey.
  • Use accessor functions for areaColor, pointColor, and linkColor to keep styling logic separate from data.
  • Limit the DottedMap mapHeight (or mapWidth) to balance fidelity and performance; precompute maps for large or static displays.
  • Use ISO 3166-1 alpha-3 country codes when targeting specific countries in DottedMap.
  • Provide fitView, zoomExtent, and sensible padding for interactive TopoJSONMap views to ensure good initial framing.

Example use cases

  • US state-level choropleth showing population or revenue using TopoJSONMap with custom areaColor accessor.
  • Global office footprint using DottedMap pins for HQ and regional offices with distinct colors and radii.
  • Flight or trade lanes drawn with TopoJSONMap links connecting city points to highlight flows.
  • Regional sales heatmap: crop DottedMap or TopoJSONMap to a lat/lng region and render per-country color scale.
  • Minimal product availability map: DottedMap with selected countryColors and a dark background for dashboards.

FAQ

TopoJSONMap requires a valid TopoJSON object. Convert GeoJSON to TopoJSON if needed for smaller payloads and topology-aware rendering.

Which country codes should I use with DottedMap?

Use ISO 3166-1 alpha-3 codes (e.g., 'USA', 'GBR', 'DEU'). Alpha-2 codes like 'US' or 'UK' are not supported.

Can I show pins outside the displayed region?

DottedMap has an avoidOuterPins option to hide pins outside the specified region; otherwise pins may be clipped or positioned off-grid.

Built by
VeilStrat
AI signals for GTM teams
© 2026 VeilStrat. All rights reserved.All systems operational
maps skill by dennisadriaans/vue-chrts | VeilStrat