Flowminder / FlowKit

FlowKit: Flowminder CDR analytics toolkit
https://flowminder.github.io/FlowKit/
Mozilla Public License 2.0
86 stars 21 forks source link

Find an alternative to folium for map embeds #528

Closed greenape closed 5 years ago

greenape commented 5 years ago

Folium, while neat, performs pretty horribly, has issues with chrome and is a bit limited. We should look out for alternatives. One thing to track is this: https://github.com/uber/kepler.gl/issues/331

maxalbert commented 5 years ago

Probably worth looking into GeoViews. For multiple reasons, not least because it supports animated timelines out of the box.

jc-harrison commented 5 years ago

For the record, I tried using GeoViews for the maps, but abandoned this due to the complication of installation and difficulty getting the maps to appear in the docs-compiled notebook output. GeoViews also doesn't have a direct equivalent of the "heatmap" offered by folium and mapbox.

maxalbert commented 5 years ago

For the record, @jch1g10's recent work suggests that Mapbox is the best alternative for our current use case. As a side note, it would be good to briefly document the pros/cons of the various solutions while it's still fresh in memory (possibly in an ADR).

jc-harrison commented 5 years ago

I'd be happy to document the pros/cons I've found of Folium/GeoViews/Mapbox in an ADR. Where should this live?

maxalbert commented 5 years ago

We used to have a folder for ADRs but somehow this seems to have gone awol. Let's re-add this in a separate PR, and then we can add another file in this folder to document this info.