Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redundant legends for collapsed buildings #124

Open
tieganh opened this issue Jan 29, 2024 · 2 comments
Open

Redundant legends for collapsed buildings #124

tieganh opened this issue Jan 29, 2024 · 2 comments
Assignees
Labels
Bug Something isn't working

Comments

@tieganh
Copy link
Contributor

tieganh commented Jan 29, 2024

When exploring the M4.9 Georgia Strait scenario, I was looking at the number of collapsed buildings at the CSD level. The legend has 20 different colours to represent 0-1 and 1-1 casualties. This is confusing because it's obviously way too many legend colours, such that I can't tell the difference between several of them anyways, and 1-1 is meaningless.

@tieganh tieganh added the Bug Something isn't working label Jan 29, 2024
@tieganh tieganh added this to Backlog in RiskProfiler via automation Jan 29, 2024
@anthonyfok
Copy link
Member

Thanks Tiegan! I can see it too:
image

I wonder if we could try fixing it by reducing the rounding, i.e. increase the number of significant digits? Even though a building is either collapsed or not collapsed (i.e. whole number), I guess the user would understand it is some kind of probability and thus would accept seeing decimal numbers.

That said, I agree that 20 different shades of colours are too many, especially in this case. Perhaps something like 5 to 10 different colours?

@anthonyfok anthonyfok self-assigned this Jan 29, 2024
@tieganh
Copy link
Contributor Author

tieganh commented May 15, 2024

Hey @anthonyfok - thanks for looking into this!

My initial thought is that I don't think we want to change the rounding because we wanted to avoid showing people fractions (hard to understand and probably too precise), although I agree that using red to represent 1 collapsed building is going to be misleading and it's tricky to set it up as a binary (<1, >1). Since we are using fractions in the y-axes of our bar charts, I think it can be appropriate to add a more detailed legend to the map. So let's increase significant figures for the legend to 1 (ex: 0.1 collapsed buildings) and reduce to 5 shades, if that works.

Will this impact only this scenario or should we think about how to apply this to others?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
Development

No branches or pull requests

2 participants