Some claim that deaths in the US have been increasing, and some claim they have been decreasing. Which do you think is correct? Let's take a look at the data ... The Data Here in the US, the Centers for Disease Control and Prevention is a good/official source of data
Tag: VBARPARM
Having earned the Eagle Scout rank in Boy Scouts, I am of course very conservation-minded, and against polluting. I'm also an avid boat paddler and fisherman, and therefore I'm especially concerned about pollution in our rivers, lakes, and oceans. I even volunteered for a week to help survey coral reefs
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
In these modern times, my utility bill has a bar chart so I can see how my current consumption compares to my historical usage. I decided to create my own version of this utility bill bar chart, and make a few improvements along the way. If you're into SGplot bar
You might have noticed I've been trying out SAS ODS Graphics lately, whereas in the past I mainly used SAS/Graph for my samples. In this blog post I step you through my latest fancy SGplot graph - hopefully you'll learn some tips & techniques, as you follow along. (I don't
Recently a colleague was requested to create a bar chart showing the performance of students in a school compared to county and state wide schools. The solution using SGPLOT was simple as shown below. /*--Create data--*/ data school; input Year Group $ Value; format Value percent5.1; datalines;
A dual response axis chart is useful when the data type for the multiple measures are not compatible. For example, when overlaying measures like "This Year" sales with "Last Year" sales, the format and magnitudes of the two measures (or values for two groups) may be compatible, and it is
Recently, while browsing health care data, I came across the graph shown below. The graph includes the healthy life expectancy at birth by countries in the EU, along with the associated per capita expenditure. The graph also shows estimate of potential gain in life expectancy by increasing expenditure efficiency. The
A few weeks back I posted an article on ways to create a WindRose Graph using SGPLOT procedure. The process is relatively simple. Create (R, Theta) data with both numeric axes where the Theta is a value in the data range is 0-360, and R is the corresponding response value. Then
As Sheldon Cooper would say, this is the first episode of "Fun with Charts". I did not find a cool term like "Vexillology" and "Cartography" is taken by map making, so let us go with "Chartology". Yesterday, I saw a couple of interesting bar charts as shown on the right. I thought
Just this morning I received a request for a brief survey from Apple on my feedback about the new iPhone6+. Yes, I finally got one, dead last in the family. The survey followed the usual format, with a number of questions on what I like or dislike about it, with
Creating a Bar Chart with a table of statistical data aligned with the bars is a popular topic. With SAS 9.4, creating such graphs gets easier with the new AXISTABLE statement in GTL and SG procedures. But some use cases can flummox the latest gizmos. Such is the case I ran into recently. Here
A parametric bar chart in SG Procedure and GTL parlance is a simplified version of the regular bar chart, where the data is assumed to be summarized prior to its usage inside the SG procedures or GTL. So, multiple occurrences of the same category and / or group combination is
A recent question by a user lead led me to experiment with what is often referred to as conditional highlighting. The user wanted to display a bar chart of response by year, where each bar is colored by year, and show a cross hatch pattern on the bars where the
Recently a user posted a question on the SAS/GRAPH and ODS Graphics Forum about drawing a plot with custom confidence intervals . The user has a simple data set with category, response (mean) and custom lower and upper confidence intervals. The data looks like this: Robert Allison provided the code (proc gplot +