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

adding latitude and longitude range for the map #71

Open mrastgoo opened 4 years ago

GaelVaroquaux commented 4 years ago

Thanks!!

What would be really useful is that, when the user zooms, the area used by the map expands more vertically. Right now, it is not using well the screen real estate.

I don't know how to do this, by the way.

mrastgoo commented 4 years ago

ok, I will look into it, see if there is a way

ashwinpn commented 4 years ago

@GaelVaroquaux It would a really good addition, if we were to connect the zooming in with spatial granuarity (#58) - Initially, we would have countries represented on the plot, then as we start zooming in, we go in the order countries -> states -> provinces/boroughs -> cities -> neighbourhoods.

Currently, information on provinces/boroughs and cities won't be of much use (sparse data, still early stages to derive valuable insights) - but a couple of months from now, it would be, as the virus spreads.

Obviously this would be a complex implementation, and should be thought about when all the basic parts are working well and integrated together, but I am mentioning it here to make a note of it.

mrastgoo commented 4 years ago

I couldn't find any solution other than using yaxis.scaleanchor and yaxis.scaleratio of the layout check this ref, however I dont see any changes for the plotly.express.choropleth object. @emmanuelle do you have any suggestion ?