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
  • НаукаНаука

Комментарии • 11

  • @MattZaycYT
    @MattZaycYT Месяц назад

    Awesome! Thank you so much for the video!

  • @sagrodat
    @sagrodat 2 месяца назад +1

    Helpful, thanks!

  • @lenoygeothomas7026
    @lenoygeothomas7026 Месяц назад

    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.

    • @dylan_song
      @dylan_song  Месяц назад +1

      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!

    • @dylan_song
      @dylan_song  Месяц назад +1

      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

    • @lenoygeothomas7026
      @lenoygeothomas7026 Месяц назад

      @@dylan_song Thank you so much, I'll let you know if I find anything helpful. Thanks once again!

  • @SoulStarSketchin
    @SoulStarSketchin 10 месяцев назад +2

    Huh I feel a little less stupid about python at least lol. I might fiddle around with it later to see results.

    • @dylan_song
      @dylan_song  10 месяцев назад +1

      lol that's good to hear!

  • @josejordan8613
    @josejordan8613 9 месяцев назад +1

    👌 Promo-SM