BookmarkSubscribeRSS Feed
amerrill
Calcite | Level 5

Is it possible to display a geo map in the style of a heat map using SAS VA? I am currently using a bubble map and want to show the density of of a population by zip code. 

 

Alternatively, is there a way to bring the largest bubbles to the front of the map? When I look at things by zip code the largest bubbles tend to be overtaken by smaller bubbles making it very difficult to interpret.

 

Any suggestions or best practices/papers are welcome for SAS VA Geo Maps

5 REPLIES 5
Sam_SAS
SAS Employee

Hello,

 

You can create a region map where the regions are shaded by frequency. I think this is what you mean by a heat map.

 

However, you cannot do this for ZIP codes out of the box. There is a workaround to add ZIP codes (or any other geographic regions) to VA, but it is supported for VA 7.4 only. In theory it works for other VA releases but it is supported only for 7.4. It is also a fairly complicated administrator task.

 

See the documentation here:

http://support.sas.com/documentation/cdl/en/vaag/69958/HTML/default/viewer.htm#n0g5kjtnbvsrwbn1lxl2w...

 

About the bubbles, I don't think there is a way to bring the large bubbles forward. If the number of bubbles is an issue you might want to create a filter or rank. Zooming the map might also help if that is a possibility for you.

 

In general, mapping ZIP codes can be problematic because of how small they are in urban areas and how they can be very irregular and noncontiguous.

 

I hope you will find this helpful,

Sam

 

ETA: I am actually not 100% sure you can add ZIP codes in this way. You can add US counties and postal codes from other countries, but US ZIP codes might be a special case.

FalkoSchulz
SAS Employee

While we don't support heat map / density plots just yet (planned for future releases) - I found it best to use the geo coordinates plot for high cardinilaty maps. So things like US zip codes with over 40k values typically render better with smaller data points. The following screenshot shows an example for US with 80% transparency:

 

va81_geo_zip_1.png

 

Zooming into the east coast reveals more details:

 

va81_geo_zip_2.png

 

As Sam mentioned - you may also consider using regional overlay if you have access to the boundary data. Given the number of zip codes however you may not be able to render all data points for performance reasons. The following examples shows Florida:

 

va81_geo_zip_3.png

 

Hope this helps. Regards, Falko

rmalcata
Quartz | Level 8

Adding to the replies above, you can use the display rules to create the heatmap colour schema based on the pop density.

jeninemilum
Fluorite | Level 6

I am using 7.4 but I am unable to get anything to look like what you have below.  I've got everything you can think of for coordinates, State, City, Zip, Lat/Long.   What did you use?  Also, I want the colors to vary base on counts. Which options did you select?  When under the roles tab,  I select Coordinates (instead of bubble) and it greys out Color where I'd put my "counts" variable. 

 

Thanks!

Jenine

FalkoSchulz
SAS Employee

Hi Jenine,

 

Unfortunately color role assignments were not supported for coordinates plot until VA 8.x. If you are using VA 7.x you would need to use the 'Bubble' map style. Just be aware of the 5k cardinality limit for bubble plots so you may not be able to render all US postal codes without prior filtering.

 

Hope this helps. Regards, Falko

sas-innovate-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

Register now!

Tips for filtering data sources in SAS Visual Analytics

See how to use one filter for multiple data sources by mapping your data from SAS’ Alexandria McCall.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 5 replies
  • 2882 views
  • 0 likes
  • 5 in conversation