How to Build a Color-Coded Sales Territory Map in WordPress (2027 Planning Guide)

Published on:

December is when many sales teams redraw their territories for the new year. If you look after the company website, that often ends with a request: "Can we put the 2027 territories on the site, colored by rep?"

This guide is for the person who gets that request: a site owner, marketer, or operations lead who needs a sales territory map in WordPress that people can read at a glance. You will plan the data in a simple table, choose the right base map, color and group the states, add a legend, link each territory to a page, keep the map current with a CSV file, and check that the colors work for people with color-vision deficiency. No code is needed.

The steps use a clickable SVG map plugin, but the planning and color advice applies to any tool.

On this page

  1. What a territory map should make obvious in five seconds
  2. Plan the data first: territories, owners, and a color key
  3. Pick the right base map
  4. Color the areas and group states that share a rep
  5. Add a legend so the colors have meaning
  6. Use tooltips and click-through pages for each territory
  7. Keep the data up to date with CSV export and import
  8. Design notes: color-blind-safe palettes and a text list as a backup
  9. Worked example: a five-territory US map for 2027
  10. Common mistakes
  11. FAQ

What a territory map should make obvious in five seconds

For most visitors a territory map answers one question: "Who covers my area?" A customer in Ohio wants the right rep. A new hire wants to see where their patch ends. A manager wants to spot a state nobody owns.

Before you pick colors, decide what the map must show at first glance:

  • Which areas belong together. All states in one territory share one color.
  • What each color means. A legend or labeled list sits next to the map.
  • What to do next. Clicking a state opens that territory's page.
  • What is not covered. Open states use one neutral color, so gaps are visible.
Example US sales territory map with five color-coded territories, West, Central, Great Lakes, Southeast and Northeast, and a legend naming each territory's rep and number of areas.
The worked example in this guide: five territories, one color each, and a legend with owner and area count. Names are illustrative.

Plan the data first: territories, owners, and a color key

The map is the last step. Start with a table, because the table is what you will keep editing all year.

Make one row per territory: name, owner, the states it contains (two-letter codes are easiest), its color as a hex code, and the page it links to. Then check three things:

  1. Every area appears exactly once. The US map used here has 51 areas, the 50 states plus Washington, DC. If your total is not 51, a state is missing or duplicated.
  2. Unassigned areas have a rule. Give open states a neutral "Open territory" color, or leave them in the map's default color.
  3. There is a reassignment rule. In its 2027 planning article, Map My Customers (23 November 2026) expects more teams to rebalance territories whenever headcount, account value, or coverage changes, instead of once a year, and advises deciding in advance how a departing rep's accounts will move. If territories change mid-year, the website map has to change with them.
Planning table with five rows: territory, owner, states as two-letter codes, a color swatch with its hex code, and the territory page each row links to.
One row per territory. The total at the bottom (51 areas) catches a missing or duplicated state before it reaches the website.

Store exact hex codes, not "blue." Whoever edits the map in six months will need them.


Pick the right base map

Pick the base map that matches the boundaries your team actually sells by.

Your territories are drawn by… Use
Groups of US states A 50-state US map (DC is its own area)
Counties in one or a few states A single-state county map, for example Texas with 254 counties
Counties across many states One county map per state, or a package of all 50
Countries or world regions A world map by countries
ZIP codes, drive times, or custom shapes A GIS or street-map tool

The last row matters. A clickable state or country map cannot draw ZIP-code or drive-time boundaries, and forcing it to will misrepresent who covers what.

In WP Map Plugins, the interactive US map plugin covers the 50 states plus DC (US territories such as Puerto Rico are a separate map). County-level teams can use the individual US state maps, and international teams the world map by countries, with 204 clickable countries. The editor works the same way on each.


Color the areas and group states that share a rep

With the table ready, you color a whole territory at once rather than state by state.

Select every state in a territory

In the map editor, find the states in the list or search for them, then Shift-click or Ctrl-click to select several and set the color once. Multi-select editing is in the free version.

WordPress admin showing the US map editor: a live map preview on the left and a searchable list of states on the right, with a hint to Shift- or Ctrl-click to select several states.
The editor's state list. Shift- or Ctrl-click selects several states. Shown in the premium edition, which adds tabs such as Legend and Regions.

Set the fill, hover, and label colors

For each territory, set the color (fill), a slightly darker or lighter hover color so people see which state they are pointing at, and a label color that stays readable. White labels suit dark blue; near-black suits yellow or light blue.

Editor fields for one state: color, hover color, label color, label hover color, a one-line tooltip, a When clicked menu, and an Active checkbox.
Per-state fields in the free version: colors, a one-line tooltip, the click action, and an Active checkbox.

For unassigned states, use your neutral color, or set a map-wide inactive color under Map settings and untick Active for those states.

Group a territory into a region (premium)

Colored states still act as separate areas: hovering Nevada highlights only Nevada. To make the whole West light up together with one tooltip and one link, use Regions, a premium feature. Select the states, open the Regions tab, name the region, and add them. The region's color, tooltip, and click then replace those of its states.

Premium US map with states grouped into regions: the western states share one yellow color and hovering Nevada shows a single West Region tooltip.
Premium: with Regions, the group highlights together and shows one tooltip ("West Region") whichever state the pointer is on.

Regions are optional. States colored by territory and linked to the same page work well, and that is all possible in the free version.


Add a legend so the colors have meaning

Without a key, colors are decoration. Nobody should have to guess that orange means "Central, Luis."

In the premium US map, the optional legend sits under the map. You add one entry per color with a short label. Keep labels short ("West: Dana") and in a fixed order.

Live demo on the WP Map Plugins site: a US map with states in three shades and a legend below reading Offices, Partners and Coming soon.
Live demo on wpmapplugins.com, captured 4 December 2026. The legend includes "Coming soon" for gaps. Premium features (legend and zoom) are on in this preview.

In the free version, write the key yourself as a short list or table under the map with normal WordPress blocks. That text version is worth having even with a built-in legend, as the design notes explain.


Use tooltips and click-through pages for each territory

Tooltips and links do different jobs, and mixing them up is a common problem on territory maps.

  • Tooltip: a short hover label such as "Central: Luis." In the free version it is one line of plain text, up to 30 characters. Premium tooltips can include bold text, colors, lists, and a small image.
  • Click: set When clicked to open a link, in the same tab or a new one.

Tooltips cannot contain clickable links, because they close when the pointer leaves or the state is clicked. Put the email address or booking link on the territory page. To keep visitors on the map, premium popups (a modal window) can hold text, images, links, and video.

One page per territory usually works better than one per state: a short introduction, the owner's name and role, the states covered, and a contact form. If you also want state-level pages for search, see the post on individual US state maps for hyper-targeted SEO.


Keep the data up to date with CSV export and import

Territory maps go stale quickly: a rep leaves, two territories merge, a state moves to a new hire. Writing about 2027 territory planning (15 October 2026), Gradient Works reports that fewer teams are redrawing the whole map from scratch; more start from how reps actually spend their time and test a few designs side by side. Your website map needs a routine for those changes.

The simplest routine is a spreadsheet round trip. The editor's Import / Export tab exports a CSV with one row per state, which opens in Excel, Numbers, or Google Sheets. The columns are id, name, fill, hover, labelColor, labelHover, tooltip, action, url, target, active. Edit the rows for the states that moved and import the file. Rows are matched by ID or name, and empty cells keep the current value.

The map editor's Import / Export tab with Export JSON and Import JSON buttons for all settings, and Export CSV and Import CSV buttons for a spreadsheet of states.
Import / Export in the free version: JSON for a full backup, CSV for a spreadsheet of states.
Five-step workflow: export CSV, edit the sheet, import CSV, check the draft, publish and export a JSON backup.
A repeatable update routine. Changes stay in a draft until you click Publish.

Before a big change, export a JSON backup of all settings (the file is dated). And keep the planning table and the CSV in step, so the table stays the single source of truth.


Design notes: color-blind-safe palettes and a text list as a backup

A territory map uses color to carry meaning, so the palette is not only a branding choice.

According to MedlinePlus Genetics, red-green color vision deficiency affects about 1 in 12 men and 1 in 200 women among people of Northern European ancestry.

  1. Start from a palette designed for this. Territories are categories, so use a qualitative palette. The Okabe-Ito palette was designed to stay distinguishable for common color-vision deficiencies, and ColorBrewer has a "colorblind safe" filter. Save light-to-dark ramps for values such as sales per state.
  2. Avoid red next to green. It is the classic failure.
  3. Use five to seven colors at most. More than that becomes hard to match against the legend.
  4. Check label contrast. In the example, each label is white or near-black, whichever contrasts more with its fill; all five pairs are above 4.5:1.
Two palettes compared in four rows each, normal, deuteranopia, protanopia and greyscale: the five Okabe-Ito colors stay distinct, while red and green move close together.
The example palette (top) and a typical red-green palette (bottom), with simulated color blindness and greyscale.

Then test the finished map. I previewed the example with the Machado, Oliveira and Fernandes simulation model. My first draft used Okabe-Ito's reddish purple for the Southeast; under simulated deuteranopia it became a grey-blue close to the neighboring Great Lakes green, so I switched to sky blue. Greyscale showed one more issue: Central (orange) and Southeast (sky blue) have almost the same lightness, so they look identical in a black-and-white printout.

The five-territory map three times: in normal color, with simulated deuteranopia, and in greyscale, where Central and Southeast become the same grey.
The same map in normal color, simulated deuteranopia, and greyscale. Hue keeps Central and Southeast apart, but greyscale does not.

That is why a text backup matters. The W3C's WCAG 1.4.1 Use of Color guidance says color should not be the only visual means of conveying information, and even gives the example "Mary's sales are in red, Tom's are in blue." Under the map, add a plain list or table of each territory, its owner, and its states, with links. It helps screen-reader users, phone users, and anyone printing the page. For keyboard and screen-reader access in general, see how to create an accessible web map.


Worked example: a five-territory US map for 2027

  • Plan. Five territories, 51 areas: West (13, including Alaska and Hawaii), Central (11), Great Lakes (6), Southeast (9), and Northeast (12, including DC), each with a hex color and a page such as /territories/west/.
  • Color. Shift-click the 13 West states and set the fill to #0072B2 with white labels. Repeat with #E69F00, #009E73, #56B4E9, and #F0E442, using near-black labels.
  • Link. Set When clicked for all West states to open /territories/west/, with the tooltip "West: Dana."
  • Key. Add a five-entry legend (premium) or a five-row list under the map, plus the text list of states.
  • Place. Add the map with the block, the Elementor widget, or the [wpmp-us-map] shortcode, and publish. The guide on adding a clickable US map to WordPress covers installation and placement.
  • Maintain. Export a JSON backup, then use the CSV round trip whenever a state changes hands.

Common mistakes

  • Too many colors. Ten bright hues make the legend impossible to match. Group territories or split the map.
  • Contact details in the tooltip. Tooltips cannot be clicked. Link the state, or use a popup.
  • Forgetting DC and the small states. Nine small or crowded states (CT, DE, HI, MD, MA, NH, NJ, RI, and VT) use callout boxes, and DC is its own area. Check their colors and links too.
  • No date. Add "Territories as of January 2027" near the map so readers know it is current.
  • A state map for ZIP-code territories. Use a GIS or street-map tool. For store locators and service areas, see map visualizations for regional markets.

FAQ

Can I build a color-coded territory map with the free version?

Yes. The free US map lets you color every state, edit several states at once, set hover and label colors, add a one-line tooltip, link each state to a page, and import or export CSV and JSON. Premium adds regions, a built-in legend, formatted tooltips, popups, zoom, and several maps on one site.

What is the difference between coloring states and using regions?

Colored states still act separately: each highlights on its own and has its own tooltip and link. A region (premium) groups states so they highlight together and share one color, tooltip, and click. Both work for a territory map; regions make the grouping clearer.

How many territory colors should I use?

Five to seven at most, from a palette designed for color-vision deficiency, such as Okabe-Ito or a ColorBrewer qualitative scheme marked "colorblind safe." If you need more, group smaller territories or use separate maps.

Can I show sales figures as a choropleth on the same map?

You can shade states by value bands, such as light to dark blue for revenue ranges, by setting the colors yourself or through the CSV. The map does not calculate bands from your data. Keep territory colors and value shading on separate maps.

Can each territory link to a different page?

Yes. Set each state's click action to open a link, and point all the states in one territory to the same page. In premium, a region can carry one link for the whole group.


If you want to try this, the free version on the interactive US map plugin page is enough to color states by territory, link them, and update them by CSV. The same page lists what premium adds if you need regions or a legend later.

WP Map Plugins is our product. If your territories follow ZIP codes or drive times, a GIS or street-map tool is the better fit.


Botrous Kerolos

About the Author

Botrous Kerolos has been designing and building interactive maps for the web since 2009 — from early Flash/SWF maps to modern SVG — and leads development at WP Map Plugins, helping WordPress sites turn static content into fast, accessible, interactive experiences.