I recently started reading an excellent book "Visualizing Data Patterns with Micromaps " by Carr and Pickle on visualizing geographical data linked to graphical plots. As an example, see below for an example of linked micromaps from their R package.
I tried replicating the above graph using SAS 9.3 sgplot and sgpanel. I have not been successful so far,
Below are my questions:
1, What SAS procedures show I use to create the time series and dot plots as shown above ?
2. How to create a legend like the one above ?
3. How to arrange maps/legends and plots as shown above ? Specifically procedures. I have tried using SAS proc greplay but have not been successful so far?
Any help would be greatly appreciated.
Thanks
If the map, labels, and two graphs need to line up nicely, I suggest using GTL. With SAS 9.3, the map can only be an outline shape. Some examples have been shown in Graphically Speaking blog. With SAS 9.4M1, one can use the POLYGON plot to create filled and choro maps.
@Sanjay, I'm only aware of Polygon plot in sgplot, can you please let me know if I can use the same in the GTL/proc template. Graphically speaking blog is great, can you please point me to the examples that you are referring. Many Thanks
Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!
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.
Ready to level-up your skills? Choose your own adventure.