UK Automobile Deaths and Serious Injuries: Drivers, Front Passengers and Rear Passengers
Total UK Automobile Deaths and Serious Injuries
Basic
Moderate
Advanced
Multi-Line Chart
Stacked Area Chart
As a preprocessing step, I removed extra columns of the data and added a date column in R. This was output to a csv for use in the above visualizations.
For this dataset, I chose to first plot a multi-line chart showing the number of drivers, front passengers and rear passengers killed or seriously injured over time. I added tooltips and showed the data point on mouseover so that the user could easily see what the date and value was at any given point along each line. The tooltips used the same colors as the line for reference as well. The line widths were also changed to make them thicker so that the user could see them more clearly. Lastly, I added checkboxes on top of the chart to allow the user to filter the data by category.
I next decided to show a stacked area plot to see the aggregated data as well as the individual categories. For this graph, I added a legend to explain the colors of the data. I also added a context bar so that the user can easily view sections of the data. For this bar, the user can brush over sections of the full data and can both pan and extend the section being viewed. This allows the user to more closely see the trends in the data.