azavea / fb-gender-survey-dashboard

Interactive exploration of global results from the Facebook "Survey on Gender Equality At Home
https://gender-survey-dashboard.netlify.app/
Apache License 2.0
2 stars 2 forks source link

Set height of grouped bar charts to change based on number of selected locations #74

Closed alexelash closed 3 years ago

alexelash commented 3 years ago

Overview

We current have a static height for grouped bar charts. It would be helpful for the height to change based on the number of countries that are selected.

Is your feature request related to a problem? Please describe.

We have a set height for bar charts, which looks great when there are 3 countries/regions selected:

Screen Shot 2021-01-21 at 6 04 59 PM

... but is hard to parse when a lot are selected (see screenshot):

Screen Shot 2021-01-21 at 6 04 40 PM

Describe the solution you'd like

Set the height of grouped bar charts so that the rows are more legible when there are many selections. I think the ideal height of each bar as well as distance would be when there are 3 selections.

Additional Context

N/A