BookmarkSubscribeRSS Feed
SciFiGuy0
Obsidian | Level 7

I'm trying to create a riser US map where there's one bar code for each state.  Does anybody have a file I can use containing the centroid location for each state?

Thanks

1 REPLY 1
GraphGuy
Meteorite | Level 14

If you're using the already-projected maps.us, you can use the x/y from maps.uscenter.

If you're using some other US map, you could use the centroid macro to estimate the center x/y.

Also, gmap has a built-in "block" map that will place a bar at the center of each map area.

SAS/GRAPH(R) 9.2: Reference, Second Edition

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 1276 views
  • 0 likes
  • 2 in conversation