Data visualization with SAS programming

Zipcode, X, Y data file for State Centroids?

Reply
Occasional Contributor
Posts: 18

Zipcode, X, Y data file for State Centroids?

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

SAS Employee
Posts: 963

Re: Zipcode, X, Y data file for State Centroids?

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

Post a Question
Discussion Stats
  • 1 reply
  • 197 views
  • 0 likes
  • 2 in conversation