I'm having data graphing incorrectly with graph bar when I use:
graph bar (sum) temp2, over(catfinal) over(hospital, label(labsize(small))) asy stack nofill ///
title("Influenza Samples Tested by Hospital - Vietnam, 2023", size(medlarge)) ytitle("Number of Samples Tested") ///
note("As of `c(current_date)'")
the graph incorrectly labels the names of the hospitals since the data if you tab hospital by catfinal:
| catfinal | |||||
| Negative | Influenza A | Influenza B | Influenza A&B | Total | |
| hospital | |||||
| Bach Mai | 0 | 3 | 1 | 0 | 4 |
| Viet Tiep | 37 | 14 | 3 | 0 | 54 |
| VNCH | 9 | 12 | 1 | 0 | 22 |
| Trop Dis Hosp | 7 | 2 | 0 | 0 | 9 |
| VN Swedish | 12 | 29 | 7 | 4 | 52 |
| Total | 65 | 60 | 12 | 4 | 141 |

Comment