Skip to content
Explainers & Big Questions

How to Make a Color-Coded U.S. Map From a List of States

Campus visits by season map showing Georgia, North Carolina and South Carolina in teal, with Tennessee, Kentucky and Virginia in orange.

To make a color-coded U.S. map from a list of states, give each color group a name, then paste the states that belong to it. State names, two-letter postal abbreviations and two-digit FIPS codes all work. For example, Georgia, NC, 45, GA should color exactly three states. Georgia appears twice, and 45 is the code for South Carolina.

Open the U.S. Map Maker. The example uses a fictional campus itinerary. Spring visits belong to one group and fall visits to another. If you already have one number per state, jump to the numeric CSV example.

Color states by group from a pasted list

1. Name the first color. Open Edit color groups and rename the initial group Spring visits. Keep its teal color. In Color a list of states, paste this line and choose Apply state list.

Georgia, NC, 45, GA

You should see three states change color. Georgia and GA identify the same state, so the editor counts one duplicate. NC selects North Carolina, and 45 is South Carolina’s state FIPS code. This is a quick way to check a spreadsheet that mixes names and codes.

2. Add the second color. Under Edit color groups, select Add group. Name it Fall visits and keep the orange color. With that group active, replace the text in the list box with the following line. Choose Apply state list again.

TN, KY, VA

Tennessee, Kentucky and Virginia should now be orange. The three spring states should still be teal. Each state can belong to one color group at a time. If you accidentally move Virginia to the spring group, Undo restores its previous color.

3. Check the legend and export. Open Title, labels and legend and enter Campus visits by season. Leave Show legend checked. Compare the two legend entries with the six states above. Choose Download PNG for a slide or Download SVG for a scalable graphic. Save project gives you a separate JSON file that reopens with both groups intact.

Which state names, abbreviations and FIPS codes work?

Postal abbreviations are handy for a short list. State FIPS codes are useful when your source is a Census table. Keep them as text in a spreadsheet so codes such as Alabama’s 01 retain both digits. Washington state is WA or 53. Washington, DC, is DC or 11. The editor displays the district separately from the 50 states.

A county GEOID has five digits. For example, 01001 identifies Autauga County, Alabama, while 01 identifies the state. To color county boundaries, use the U.S. County Map Maker and select the state first.

Map numeric CSV data and keep zero visible

Suppose a class records how many campus visits it completed. Georgia reported zero, North Carolina reported 12, and South Carolina has yet to report. These are fictional counts. Save the seasonal project first if you want to keep both versions, then paste this table into Paste data or open a CSV.

state,value
Georgia,0
NC,12
45,NA

Choose Preview table. The expected result is 2 areas with data and 49 without data. The editor covers 50 states plus DC. South Carolina’s NA row and the 48 omitted areas have no measured value. Select Apply data to map to replace the seasonal colors with numeric groups. Georgia’s 0 gets a numeric legend entry.

Georgia and North Carolina have separate numeric colors for zero and 12. South Carolina shares the No data fill with states omitted from the sample.
Zero means the class reported no completed visits. South Carolina’s gray fill means its count is unknown.

To check your result, open Compare two states and select Georgia first and North Carolina second. The difference should be 12. Choosing South Carolina instead gives you its missing-data label. For a spreadsheet keyed to countries, follow the country map from spreadsheet guide.

Frequently Asked Questions

What happens if an entry is misspelled?

In the state list, the editor identifies the unrecognized entry and waits before applying the list. Correct the name or use the state’s two-letter abbreviation and apply again. If a numeric CSV includes the same state twice under different names, keep one row for that state before previewing.

Can I remove one state without rebuilding both groups?

Yes. Select Remove color, then click the state or find it in the searchable list. Select Remove color again to return to painting. Use Undo if you remove the wrong state.

What Did We Learn Today?

A list assigns a state to a category, such as the season of a campus visit. A numeric column records a measurement. Checking the expected number of colored states, the legend and one known value catches duplicate identifiers and missing observations before the map goes into a presentation.

Sources & Data Notes

View sources and methods

The U.S. Census Bureau state code list gives official FIPS codes and postal abbreviations. The 2025 Census cartographic boundaries supply the generalized shapes. Alaska and Hawaii appear as insets, with Alaska reduced in scale. The campus visits and visit counts are teaching examples. Both maps were exported from GeographyPin’s U.S. Map Maker.

See something off?

Thanks for your feedback!
Share via
Copy link