How to Create INTERACTIVE MAPS in Python
HTML-код
- Опубликовано: 14 июн 2024
- This 3 minute video is gonna show you how to create an interactive map from a geo-dataframe in Python. It's pretty cool because it only takes one line of code to display the map!
⏰ TIMESTAMPS:
0:00 - Intro
0:10 - Import necessary libraries
0:38 - Loading up the actual dataset
1:23 - Quick peek at the data
1:53 - The final touch
2:57 - Conclusion
📚 Blog Post for this Video: / how-to-create-interact...
📊 DATASET:
Chicago 2014 - geodacenter.github.io/data-an...
📱 SOCIALS:
📖 Medium Data Science Blog: / dylanhgs
💼 LinkedIn: / dylan-song
🎵 TikTok: / dylan_s0ng
#coding #python #datascience - Наука
Awesome! Thank you so much for the video!
you're welcome!
Helpful, thanks!
sure!
Hey there, thank you so much for this. Really helped a lot.
However, is it possible to integrate this feature in my HTML website?
If so, how? I am having difficulty in understanding the process. Thanks once again.
That's a really good question! I don't have much experience working with HTML, so unfortunately, I can't give you a complete answer. But I did a bit of Googling because you asked, and I found out that someone else wrote a blog (medium.com/@james.moody/creating-html-choropleths-using-geopandas-2b8ced9f1632) where the person displays a geopandas choropleth map on a simple web page by converting it into HTML using a Python conversion library. You can find their code on their blog page.
I'm not sure if this will work for the interactive map that I showed you in this video, but it should work for any static maps.
Hopefully, that made sense, let me know if you have other questions!
If you do figure out how to embed interactive maps into HTML, feel free to let me know because I'm kinda curious too lol
@@dylan_song Thank you so much, I'll let you know if I find anything helpful. Thanks once again!
Huh I feel a little less stupid about python at least lol. I might fiddle around with it later to see results.
lol that's good to hear!
👌 Promo-SM