covid19-dash / covid-dashboard

Help welcomed if you have expertise in public health web technology, data modeling and munging, or visualization.
https://covid19-dash.github.io/
BSD 3-Clause "New" or "Revised" License
131 stars 41 forks source link

remove Alaska on map to make map more square and gain space #48

Open emmanuelle opened 4 years ago

emmanuelle commented 4 years ago

Can be done by changing layout.geo.lataxis.range and layout.geo.lonaxis.range as described in https://plot.ly/python/map-configuration/#map-projections (scroll down a bit).

The corresponding part of the code is https://github.com/covid19-dash/covid-dashboard/blob/master/make_figures.py#L49 (you can also call directly fig.update_geos).

mrastgoo commented 4 years ago

I will work on this

emmanuelle commented 4 years ago

we would like the map to be more square, the goal is that when you zoom the whole figure is filled with the zoomed map (this is not the case at the moment).