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

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

This is a SAS/Graph imitation (and enhancement) of some graphs from
the following report:

http://oceana.org/sites/default/files/reports/National_Seafood_Fraud_Testing_Results_FINAL.pdf


I use several 'tricks' ...

The red bars pointing to the left (for mislabeled fish) are actually
negative numbers, but I suppress the axis so you don't see those
values as negative.

I annotate the absolute values of the fish numbers at the ends of 
the bars.

I sort the data in the desired bar-order, and then assign a numeric
values, and have those values 'print' as the desired fish name
by using a user-defined format (which is generated from the data).

I annotate the headers at the top of the columns, and I underline
them by overlaying some underline characters in the same spot.

I use a 'by' statement to create a plot for each city, and I 
insert the by-value into the title.

Back to Samples Index