SAS has been used to track the spread of many things, such as wild animals, tornadoes, and money launderers -- but this time I'm using it to track the spread of Walmart stores across the U.S. over time!
Since its start in the 1960s, Walmart has grown to be the largest retailer in the world.
A while back, someone sent me a link to one of Daniel Ferry's blogs, where he had created an animation showing the spread of Walmarts on a map over time (see screen-capture below). I liked the idea, but I thought maybe I could create something a little better using SAS :)
So I downloaded the raw data from the source that Daniel had linked in his blog. I used Proc Import to read in the CSV file, and then used Proc Geocode to estimate the latitude and longitude for each store. I drew the map using Proc Gmap, and annotated a marker on the map for each store.
I used the new (simpler) SAS 9.4 syntax to create the GIF animation, and this version of the software also (for the first time in SAS) supports the use of transparent colors in GIF animations (using transparent colors for the markers allows you to 'see' where multiple markers are stacking up in the same approximate location).
And now, without further delay, here's my version of the GIF animation - click this link, or click the thumbnail/snapshot image below to see the animation:
So, what do you think of the animation? Do you see any trends?
Any surprises, or did the Walmart stores branch out as you expected? :)