Description
Implement the Country Statistics by Year page that opens when a user clicks a specific year/card in the country timeline.
This page should show disaster statistics for the selected country and selected year.
Requirements
- Show the selected country name.
- Show the selected year.
- Display the total number of disasters for that year.
- Add a pie or donut chart showing disaster type distribution.
- Display key statistics:
- Total deaths
- Total affected people
- Total damage cost
- Use the selected country and year data.
Acceptance Criteria
- Page opens from a country timeline card.
- Page displays data for the correct country and year.
- Disaster type distribution is shown in a chart.
- Deaths, affected people, and damage cost are displayed clearly.
Description
Implement the Country Statistics by Year page that opens when a user clicks a specific year/card in the country timeline.
This page should show disaster statistics for the selected country and selected year.
Requirements
Acceptance Criteria