Quantcast
Channel: 🎛️ Dash - Plotly Community Forum
Viewing all articles
Browse latest Browse all 6271

Slow dash app with complex geometry

$
0
0

Hi!

I’m working on a project whose main goal is showing data from a CSV on a choropleth map. In the next example, the map is showing the cities of 4 countries from MiddleAmerica and the colours are related to the country which each city belongs to. As you can see, the app is similar to the example US Opioid Epidemic so I don’t think that I should post the code.

The problem is that the geometry is very very very complex and when I change the column to represent on the map, the app takes more than 8 seconds to refresh the view and plot the new data. I tried to simplify the geometry with mapshaper but it’s still the same.

I’m running the app in a container with Gunicorn and I tried to optimize it but the app performance didn’t get better. I don’t know if there’s something else which could help in this situation or if it’s an issue of the library.

Thanks for the help.

3 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 6271

Latest Images

Trending Articles



Latest Images