BookmarkSubscribeRSS Feed
shariqkhan
Calcite | Level 5

I’m very new to SAS maps and wanted to create state level
not the country wise map for north America , so I put some format state wise color
coding on some logic.

Looking forward you expert advise.

3 REPLIES 3
GraphGuy
Meteorite | Level 14

So, you would like your maps to show 1 state, rather than the whole country, right?

What type of data do you have at the state level? Do you want to shade counties, zipcodes, or census blocks based on your data? Or would you like to place colored markers on the map at city or zipcode centers?  Or maybe you have street addresses, and you'd like to place the markers there?

shariqkhan
Calcite | Level 5

I need to create a heat map at state level.... lets say I have run the promotion on few states and wanted to highlight the strong and week states. But the problem is that in MAP lib of SAS I don't have state level longitude and latitude info.

So i'm looking for some data points which I can use.

Thanks Robert...

GraphGuy
Meteorite | Level 14

Hmm ... I'm still not sure what you're wanting to do.  Can you provide an example of a map similar to what you're wanting to create? (mybe use a Google search to find one).

Whereas maps.us only has projected x/y, maps.states also has unprojected lat/long (but I'm not sure you need those, based on the map it sounds like you're trying to create).

Also, here is a tutorial I have written about the basics of SAS/Graph mapping ... it would probably be useful for you to look this over:

http://robslink.com/SAS/book1/Chapter_05_Maps.pdf

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 3 replies
  • 936 views
  • 0 likes
  • 2 in conversation