Learning Scientific Programming with Python (2nd edition)

P7.4.2: West Nile Virus disease statistics

Question P7.4.2

Plot, as a histogram, the data in the table below concerning the number of cases of West Nile Virus disease in the United States betwee 1999 and 2008. The two types of disease, neuroinvasive and non-neuroinvasive should be plotted as separate bars on the same chart for each year.

YearNeuroinvasive casesNon-neuroinvasive cases
1999593
2000192
2001642
200229461210
200328666996
200411481391
200513091691
200614952774
20071227117
2008689667

These data can be downloaded as the file wnv.txt