This assignment is to practice creating a bar graph grid using the tool such as MatPlotLib with Taipei’s traffic accident data from year 101 (2012) to 108 (2019). The files we provide are the data files (xxxTraffic accident.csv) of eight years and a correspondence table for mapping codes to certain fields (Traffic accident chart.csv). In the data file, there are fifteen attributes, including Year, Month, Day, Hour, Minute, Processing class, death toll, Injuries Person, Vehicle type, Sex, Age, Weather, Speed limit, Road pattern, Accident location. With the data files and table, your homework should be done according to the following requirements:
• There are six main topics to be shown in each year:
1. Number of traffic accident death toll per month
2. Number of traffic accident injuries per month
3. Number of traffic accident injuries per vehicle type (take the top 10)
4. Number of traffic accident injuries per weather
5. Number of traffic accident injuries per road pattern (take the top 10) 6. Number of traffic accident injuries per accident location (take the top 10)
• Each topic will be presented by a bar chart.
• For each year, use bar graph grid to show the six topics. Thus, there will be eight grids for years and each grid has six bar charts for each topic.
• On the other hand, please produce the grids for the six topics respectively. Each grid will have eight bar charts for the eight years.
• Please do not forget, in each chart, to have the topic on the top and label the x-axis and y-axis.