How to Make Interactive Maps with Python - Scatter Mapbox Example with Plotly and OpenStreetMap

preview_player
Показать описание
Making interactive maps can be a challenge, but there are some great libraries and other cool stuff that can make things much easier when you're programming with Python. Plotly is a really great library that allows you to do all kinds of maps (along with other graphs), and the open-street-maps feature is something not to be missed, as it allows you to zoom in and out at various heights above your target area on the earth, and gives you the basic set of cities, roads, national parks, and other features to make a map complete.

Interested in transforming your career or finding your next gig?

Want my team to do a project for you? Let's get to it!

Want to get access to premium content made just for you and have a chat with me? Find me on Patreon :

Demo of my BZ RDP Cloaker:

Want to work with me 1:1? Contact me today and book your free 20 min consultation!

Follow me on social media:

Get Microsoft Office including Access:

Got a YouTube Channel? I use TubeBuddy, it is awesome. Give it a try:

#python #plotly #openstreetmap
Рекомендации по теме
Комментарии
Автор

Sean, as someone just starting their path down a possible career in data science, thank you so much! This video was immensely helpful and I look forward to coming back to your channel for future insights!

spooksterino
Автор

I just want to thank you, Sean. You have helped me a great deal!

lwaziradebe
Автор

Thank you for this. This helps me a lot! Currently working as GIS and I want to upskill more of using python!

mandata
Автор

Amazing video. Thank you very much, very helpful

omancripe
Автор

Perfect a very well explained video, and very useful, you earned a like an a new follower!

camilotorres
Автор

HI Sean,
First of all, this is a BRILLIANT VIDEO!

Will you guide me to resources where we can plot a storm/typhoon paths
Roadways, shipping vessels paths ...

Ligress
Автор

Great explanation Sean, thanks a lot. I'm wondering how could I really interact with the map and not just see basic Info automatically provided by Plotly when we go over the marks, I mean, let's imagine we have a dataset of passengers of some car and I want a list of them when I click in some one, how could I do that? Another doubt is, can I use Google Earth to render the map? Thanks in advance.

Garcia_AI_Dev
Автор

The coding line for "Margin" is not working for IDLE shell 3.10.7. The colons are giving errors when you are putting it in.

silkredhead
Автор

Thank you very much for the video! It's been really useful. But I have one question yet. Is it possible to show this maps on a tkinter frame, or in any other GUI library?

PaulaArias-heug
Автор

thank you for the explanation! I tried to implement this basic example. When I run it, a new tab in my browser opens. However, the plot won't show. In fact, I cannot establish a connection (ERR_CONNECTION_REFUSED). What can be the reason for this?

jjaannnniikk
Автор

How to make an arrow by using scatter_mapbox toindicate direction?

adey
Автор

I run your code on my dataset It just show the errors that fig is not defined. Is there anything I should define or import before running?!?

halafazel
Автор

Hi. I have a question how do I implement a joining line for distance wise from a start point and end point, lat and lon with mapbox access token

mongsterrr
Автор

please share a link if its possible to work online without downloading any file to my office computer, which I'm restricted to download anything

MrTeferiZ
Автор

Hi sean my data tells can only concatenate str (not "int") to str and sometimes i also get unsupported operand type(s) for /: 'str' and 'int' and i dont know when i try to use the scatter_mapbox

JCedition
Автор

Hi, I have copied your code and tried to run it in colab but I am getting just the title and blank white box in place of the map.
Is there any solution to get that map in colab?
what I am missing here?

MrAhsan
Автор

how to plot lat/long coordinate in ms access?

engineerbashdar
Автор

Hi Sean, what data set should I use to get similar result for my area(Manchester United Kingdom)?
thanks

amir_farhad_jassur
Автор

Can this map work in offline environment?

OmaniGamer
Автор

How can we move the legend above the map as horizontal?

erensarnic