Click here to see the SAS code.
Click here to see the example.
---------------------------------------------------------------
SAS/Graph imitation/enhancement of 2nd Epidemic / Epi Curve graph on this page:
http://www.cdc.gov/salmonella/typhimurium-live-poultry-04-13/epi.html
This is a bar chart, with the x-axis suppresses (made 'invisible'
by making it the same white color as the background, but not using
value=none because I still want the values to take up some space),
and the desired dates (every 2 weeks) annotated along that blank
space.
Gchart would typically want to label each bar, and would not let you
have a Gplot-like axis (with major/minor ticks).
I add html hover-text to each bar (using html=my_html) so you can
hover over the bars and know the exact date & number.
I make the salmonella strain a different color in the title,
so it's easier to see that part.
I annotate an alpha-transparent polygon for the gray area
on the right-side of the graph, and annotate the text above it.
Back to Samples Index