panodata-map-panel
panodata-map-panel copied to clipboard
Choropleth map feature
@nbaumann and @neilstuartcraig asked for filling the whole country area rather than overlaying a marker or dot at [1] and [2], Brooke Griffiths asked for kind of the same [3]. This is called a choropleth map in usual jargon.
[1] https://github.com/grafana/worldmap-panel/issues/14 [2] https://github.com/grafana/worldmap-panel/issues/241 [3] https://community.grafana.com/t/need-help-creating-a-map/24380
Thanks @amotl - yep, we'd love this feature because the current dot-overlay is quite tricky to read/interpret with lots of data points, for example this is our "requests served per country" over 3 hours:
This means we end up having to mouse-over lots of the countries to see which they are, which is obviously not practical in a kiosk-type display. In the past i have used a map which filled the country and i found it much clearer for this sort of purpose.
I hear you. As outlined by @samant-rags, we want to unlock this using Leaflet Choropleth Map here.
For getting a GeoJSON file covering the whole world, we found these resources after a quick research:
- https://datahub.io/core/geo-countries
- https://geojson-maps.ash.ms/
- https://github.com/johan/world.geo.json/blob/master/countries.geo.json
As far as I am concerned, we should watch for license and size when choosing the respective dataset here.
@felipinho-lima asked for the same thing within https://github.com/grafana/worldmap-panel/issues/241. The given example references the GeoJSON resource eu-countries.js.
At [1], @sesoko88 brought grafana-leaflet-choropleth-panel by @teosibileau to our attention, see also https://github.com/panodata/grafana-map-panel/issues/20#issuecomment-645348983. Thanks a bunch!
[1] https://community.grafana.com/t/giving-the-grafana-worldmap-panel-some-love/17210/12