Author

The Graph Guy!

Robert has worked at SAS for over a quarter century, and his specialty is customizing graphs and maps - adding those little extra touches that help them answer your questions at a glance. His educational background is in Computer Science, and he holds a BS, MS, and PhD from NC State University.

0
SAS graphs for R programmers - bar charts

This is another in my series of blog posts where I take a deep dive into converting customized R graphs into SAS graphs. Today we'll be working on bar charts ... And to give you a hint about what data I'll be using this time, here's a picture from a SAS

0
SAS graphs for R programmers - maps from shapefiles

This is another in my series of blog posts where I take a deep dive into converting customized R graphs into SAS graphs. Today we'll be working on shapefile maps ... And what data will we be using this time? Here's a hint - the picture below is the Aurora

0
SAS graphs for R programmers - bubble maps

This is another in my series of blog posts where I take a deep dive into converting customized R graphs into SAS graphs. Today we'll be working on bubble maps - specifically, plotting earthquake data as bubbles on a map. R bubble map, created using geom_polygon() and geom_point() SAS bubble

0
SAS graphs for R programmers - paneled graphs

This is another in my series of blogs where I take a deep dive into converting customized R graphs into SAS graphs. Today I show how to combine several graphs with shared axes, which we'll call paneled graphs. This time I'll be plotting the Job Openings Rate by Industry, similar

0
SAS graphs for R programmers - diverging bars

This is another in my series of blogs where I take a deep dive into converting a customized R graph into a SAS graph. Today I'm focusing on a diverging bar chart (where one bar segment is above the zero line, and the other is below). What type of data

0
SAS graphs for R programmers - U.S. choropleth map

This is another in my series of blogs where I take a deep dive into converting a customized R graph into a SAS ODS Graphics graph. Can you guess what data I'll be using this time? Here's a photo with a hint. This is Keeler, California (just west of Death

0
SAS graphs for R programmers - needle plots

This is another in my series of blogs where I take a deep dive into converting a customized R graph into a SAS ODS Graphics graph. This time the example is a needle plot (that's essentially like a bar plot, with lots of tiny bars, plotted along a continuous xaxis).

0
SAS graphs for R programmers - overlay lines

In the past, Sanjay showed how to create several basic graphs using both R and SAS ODS Graphics code. I'm going to take a bit of a "deeper dive" and focus a series of blog posts on highly customized graphs. Hopefully the code for these customizations will provide you with

0
Mobile phone market share - stacked bar charts

I recently had a discussion with a friend, and we were wondering about Apple's market share. This led me to look into the actual data ... finding the online charts lacking, and then designing my own charts. Follow along if you're curious about the process of improving the charts, or

0
Where will you travel after the pandemic?

Have you been stuck at home, dreaming up the next big trip you'll take after this pandemic is over? How will you pick a really cool location to visit? Perhaps you can ask your friends for suggestions. My co-worker (and lunch buddy) John recommended the Grand Prismatic Spring. Here's a

0
Coronavirus: per million, per 100k, or percent?

A user commented on one of my previous maps ... "How can there be 820 cases of Coronavirus per 100,000 people? - There aren't even 100,000 people in my county!" Well, when you want to compare something like the number of COVID-19 cases between two areas that have differing populations,

0
Do low mortgage rates bring you joy(plots)?

When it comes to plotting mortgage rate data, I often look to Len Kiefer for inspiration. He recently posted a retro-looking graph on twitter that caught my eye ... and of course I had to see if I could create something similar using SAS. For lack of a better term,

0
Early voting in North Carolina (2020 vs 2016)

Here in the United States, we have our general election (where we elect the president) every four years - and 2020 happens to be one of those election years. This time we seem to have a lot more people voting early. I can't tell you the reason they're voting early

0
NC's voter registration data, for the 2020 election

When an election is on the horizon, I always feel compelled to plot some data! And this time I'm plotting North Carolina's voter registration data! State Data For this graph, I downloaded several of the data snapshots from the NC State Board of Elections' website, and plotted a line showing

0
Visualizing 3 waves of COVID-19 in the US

Now that we are many months into the COVID-19 pandemic, I've started going back and reexamining the data for lessons or trends (you might say hindsight is 20/20). This time, I want to explore how COVID-19 has been spreading around the US. I do this by using a graphical idea

0
New SGmap features in SAS 9.4m7

When you get something new, the hope is that it will be better than the old thing it's replacing. As I often do, I asked my Facebook friends to provide a random picture for my blog - in this case, a picture of one of their new/recent purchases. My friend

0
Pandemic code samples, for SAS graphics

During the 2020 Coronavirus pandemic, you've probably formed a great appreciation for good, informative graphics. Good graphics can help you get a handle on thousands of individual data values, see the geographical distribution, or look for trends. In February, I wrote a blog post about creating a coronavirus dashboard with

0
I'm just an ordinary average curve ...

If you're close to my age, you probably remember Joe Walsh's song Ordinary Average Guy. That song popped into my head when I was writing this example about moving averages, so I encourage you to listen to it while reading the blog post. Many people are looking at graphs lately

0
Giving your maps more visual impact!

There are many ways to add more "visual impact" to your maps. Some techniques grab the users' attention, but often don't add anything useful to the message the map is trying to convey (such as 3D tricks, or flashy/gratuitous images and infographics). I encourage you to design maps that have

0
Improving the Wuhan Coronavirus dashboard

The COVID-19 Coronavirus outbreak has been in the news a lot lately, and everyone is probably looking for a quick/easy way to see the data. The best visualization I've seen so far is this dashboard by Johns Hopkins. Here's a screen-capture: But before we dive into the data analysis, let's

0
Magnetic north moved 50 miles last year (let's map it!)

I've read several articles that mentioned the north magnetic pole has been moving more in the past few decades, than in the previous few hundred years. And as a Map Guy, I knew I just had to plot this data on a map, and see it for myself! I provide

0
Creating a map to track the coronavirus

The coronavirus has been a big item in the news lately - it's a pneumonia-like illness that has killed several people. It's thought to have started in China, and has spread to several other countries (including at least one case in the U.S.). The World Health Organization says the coronavirus

0
How to prepare (your graphs) for flu season

The flu season has started here in the U.S., and according to the Centers for Disease Control and Prevention (CDC) data it has caused 214 deaths in the first week of 2020. Is this number higher, or lower, than usual? When does the flu season start, and how long does

0
Where's the best place to retire, in the U.S.?

As I get older, a few of my buddies are starting to retire. And this makes me think about my own retirement (not that I'm anywhere near old enough to retire, mind you!) Therefore when I saw a list of the "Best & Worst Cities for Retiring" it caught my