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

hackathon24-white-horiz.png

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

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
  • 1133 views
  • 0 likes
  • 2 in conversation