Click here to see the SAS code.
Click here to see the example.

---------------------------------------------------------------

Pie charts aren't highly though of by data visualization purists,
because of their several drawbacks.  But a lot of users who aren't
educated in the evils of pie charts "like" them, so I thought I'd
try to include a few examples that aren't all that bad a use of them :)

If you're going to use a pie chart, it's probably best to use them in 
situations where you're trying to show the contribution of a part
to the whole, and where you have a very small number of slices 
(ideally, the minimal 2 slices, as in this example).  The human 
eye is very good at determining whether one slice is bigger than
the other, therefore it's easy to tell whether male, or female,
clothing sales is higher.

This particular example shows the sales for the state of Wyoming.
At the beginning of the animation, the male clothing sales are 
higher (greater than 50%), and then in later years the female
clothing sales are higher.

Personally I think a line chart shows this data better, because
you can more easily see the trends over time ...

  Click here to see the line chart version.




Back to Samples Index