Data visualization with SAS programming

Geographic Density Heat Map

Accepted Solution Solved
Reply
Occasional Contributor
Posts: 7
Accepted Solution

Geographic Density Heat Map

Is it possible to make a map like the one below in SAS? I can't find any examples of such a map online nor any SUGI proceedings on it.

 

http://www.cpwservice.com/index_htm_files/fastfooddensity1.jpg

 

Looks like it'd be a contour plot by coordinates overlaid on a projected map. But how do you go about doing that? Is it possible?

 

Any help would be greatly appreciated.


Accepted Solutions
Solution
‎10-07-2016 10:16 AM
SAS Super FREQ
Posts: 3,630

Re: Geographic Density Heat Map

See the paper and references in

Massengill and Kolovos (2012) "Together at last: Spatial analysis and SAS mapping"

 

View solution in original post


All Replies
Super User
Posts: 11,134

Re: Geographic Density Heat Map

Here's a link with one form. though the data is precipitation the principal could be the same: http://robslink.com/SAS/democd82/precipitation_map_10inches_info.htm

And here's one using smaller regular filled circles to simulate a larger area

http://robslink.com/SAS/democd75/solar_potential_map_info.htm

 

Explore Robslink.com for many examples of graphs and maps.

Solution
‎10-07-2016 10:16 AM
SAS Super FREQ
Posts: 3,630

Re: Geographic Density Heat Map

See the paper and references in

Massengill and Kolovos (2012) "Together at last: Spatial analysis and SAS mapping"

 

Occasional Contributor
Posts: 7

Re: Geographic Density Heat Map

This is great! Thanks for passing along!
SAS Employee
Posts: 170

Re: Geographic Density Heat Map

Basically, there are 2 ways to do it and neither are easy without the proper data.

First, there is making the heat map with annotate.  You have to draw the heat map in the correct locations.  The examples that Ballardw and Rick suggested are using annotate.

Second, there is a counties map.   If you have the data per county, you can do something like this weather map:

 

weathermap.PNG

Occasional Contributor
Posts: 7

Re: Geographic Density Heat Map

Thanks for the suggestion! We have county-level data, but I didn't want the unit of analysis to be county, as they can be rather large, particularly out west. I wanted to be able to use our point-level coordinates to get densities around specific areas, regardless of state or county lines. I think the Massengill and Kolovos (2012) paper gets me where I want to go. It's not simple, but it looks like it'd get the job done.
Super User
Posts: 11,134

Re: Geographic Density Heat Map

You don't mention what the heat map is actually intended to display. Please note that in those "big counties out west", since I work with such data, that many interpolations across those areas can be extremely misleading. In some cases related to characteristics of people because there are no people resident in the area and for phyiscal characteristics such as weather phenomena that elevation often has a large influence on results.

☑ This topic is solved.

Need further help from the community? Please ask a new question.

Discussion stats
  • 6 replies
  • 528 views
  • 3 likes
  • 4 in conversation