Users can select multiple years on the years selection page, and
questions are formatted appropriately for multiple years.
Questions/options are hidden on the question selection page only if
they are unavailable for all selected years for all selected
geographies.
Displays comparative view for StackedBarChart and GroupedBarChart by adding a row for each answer type
for each year.
Connects #133, #135, #136
Demo
Notes
Comparative view design for WaffleCharts hasn't been finalized, so for the moment, each year / country will load as a separate set of waffle charts. Comparative view for WaffleChart question will be built in #137.
Testing Instructions
In the Netlify preview, select a country with only 2020 data. Only 2020 should be available on the years page.
Select a country with only 2021 data. Only 2021 should be available on the years page.
Select countries with both years available, a country with only 2020 data, and a country with only 2021 data.
Select 2020 on the years page. On the questions page, the number of options available should match the number of options available on production for 2020.
Select 2021 on the years page. On the questions page, the number of options available should match the number of options available on production for 2021.
Select 2020 and 2021 on the years page. On the questions page, all options should be available.
Select the following options, then view the charts page:
How many other people live with you under the same roof? Please do not count yourself (0, I live alone)
Out of 10 of your neighbors, how many do you think believe that girls and boys should share household tasks equally?
Do you agree or disagree with the statement? "There are times when I feel uncomfortable or even unsafe in my house."
The StackedBarChart and the GroupedBarChart should display both 2020 and 2021 data. The countries with only one year of data available should be included in the charts for the year that are available.
On the questions page, select all options, then go to the charts page (it might take a moment to load).
All charts / questions should render without breaking.
Overview
Users can select multiple years on the years selection page, and questions are formatted appropriately for multiple years.
Questions/options are hidden on the question selection page only if they are unavailable for all selected years for all selected geographies.
Displays comparative view for StackedBarChart and GroupedBarChart by adding a row for each answer type for each year.
Connects #133, #135, #136
Demo
Notes
Comparative view design for WaffleCharts hasn't been finalized, so for the moment, each year / country will load as a separate set of waffle charts. Comparative view for WaffleChart question will be built in #137.
Testing Instructions