home-assistant / analytics.home-assistant.io

Home of the Home Assistant usage stats.

Home Page:https://analytics.home-assistant.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Coloring scale of world map by population

ThomDietrich opened this issue · comments

Hey there,
I got curious about the Analytics world map presentation. Why is the US in darkest color? Turns out the countries are colored by absolute installation. That imho doesn't make sense. You should either divide by area or population to generate a more representative view.

installations: this.currentData?.countries[country] || 0,

I personally would go with the population of countries and there are many good sources for country population online, e.g. https://www.kaggle.com/erikbruin/countries-of-the-world-iso-codes-and-population?select=country-and-continent-codes-list-csv.csv

Best!

There is an open feature request for this here https://community.home-assistant.io/t/per-capita-option-in-statistics-world-map/353611, add your vote to it 👍