BookmarkSubscribeRSS Feed
Fluorite | Level 6
I usually use proc report with some conditional formatting to create heatmaps.
Is there a better way using any of the new graphics procs?
Meteorite | Level 14
With SAS 9.2, You can use SGPLOT procedure and / or GTL to do heat maps, however, you have to use a scatter plot and manage the size of the markers. See examples here:

Looking ahead, we will have a real HEATMAP statement in GTL at V9.3.
Meteorite | Level 14
There are many kinds of charts people call "heat maps" - could you provide a link to an example (on the web) of the specific kind of heat map you're wanting to create?
Fluorite | Level 6
Here is a link to the type of heatmap.

Good to here GTL will get the heatmap function.
I've troed the examples above in the past and found the sizing of the scatter dots a bit messy.
Meteorite | Level 14
Ahh - so, really, just a grid of colored boxes, where you control the color.
I don't have any examples 'exactly' like yours, but here are some similar,
that could probably be adapted ...

The technique used in this custom calendar chart could be adapted:

A gplot, similar to the sgplot that was posted:

And, most of these 'wafer maps' could be adapted to a rectangular 'heat map':



Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.

If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website. 

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.

Get the $99 certification deal.jpg



Back in the Classroom!

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

View all other training opportunities.

Discussion stats
  • 4 replies
  • 1 like
  • 3 in conversation