Displaying Maps With Plotly Express Mapbox and Streamlit

แชร์
ฝัง
  • เผยแพร่เมื่อ 14 พ.ย. 2023
  • Streamlit provides a quick and easy way to build interactive applications and dashboards for data analysis and machine learning. If we are looking to build a data analysis app within Streamlit that uses data containing location information, one of the first visualisations we may want to consider adding is a map. Having an interactive map within our app allows us to visualise where the data points are located, and in turn, we can identify patterns or dig into the data in more depth.
    This tutorial will show how to integrate plotly express maps directly in a Streamlit app.
    Article Version:
    / 3-easy-ways-to-include...
    Dataset
    The data we are using for this article comes from the Norwegian Petroleum Directorate website and contains the locations of all wells that have been drilled on the Norwegian Continental Shelf. The full dataset can be downloaded here: factpages.npd.no/en/wellbore/...
    ⭐️ If you haven't already, make sure you subscribe to the channel: / @andymcdonald42
    ▼ --- SUPPORT THE CHANNEL --- ▼
    ☕️ BUY ME A COFFEE: www.buymeacoffee.com/andymcdo...
    ▼ --- GET THE CODE -- ▼
    github.com/andymcdgeo/andymcd...
    ▼ --- SOCIAL CHANNELS --- ▼
    Thanks for watching, if you want to connect you can find me at the links below:
    / andymcdonaldgeo
    / andymcdonaldgeo
    www.andymcdonald.scot/
    #datascience #petrophysics #python #streamlit #eda
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 13

  • @hazamonzo
    @hazamonzo 27 วันที่ผ่านมา

    Thanks Andy. Nice series of videos that certainly helped me get started with Streamlit. Have you considered a video of adding the ability to trigger events from plotly charts? For example, clicking and item on a plotly chart to filter a dataframe that powers another plotly chart? This is something I think would be useful to understand to create truly interactive dashboards with Streamlit

    • @AndyMcDonald42
      @AndyMcDonald42  25 วันที่ผ่านมา +1

      Thanks. It is something I have thought about and I’m hoping to share a video on it in the future

    • @hazamonzo
      @hazamonzo 25 วันที่ผ่านมา

      @@AndyMcDonald42 awesome thank you!

  • @cristhianmarulanda1030
    @cristhianmarulanda1030 2 หลายเดือนก่อน

    excellent content and explanation about streamlit... Gracias!!!

  • @ahsanulhaq6064
    @ahsanulhaq6064 8 หลายเดือนก่อน

    great ❤

  • @mitnoxin
    @mitnoxin 8 หลายเดือนก่อน

    Very nice Andy. I will have to look in to stresmlit a bit further.

    • @AndyMcDonald42
      @AndyMcDonald42  8 หลายเดือนก่อน

      Thanks. Streamlit is definitely worth looking into. It makes it really easy to create interactive web apps without worrying about HTML and CSS 🙂

  • @Dee-pf4ql
    @Dee-pf4ql 6 หลายเดือนก่อน

    Thank you for the great video, wondering is it possible to change the icon for all the points on the map?

  • @gmostafaali
    @gmostafaali 8 หลายเดือนก่อน

    Very enjoyed this tutorial thank you Andy. I seen not yet post it in Medium. Waiting your new courses!

    • @AndyMcDonald42
      @AndyMcDonald42  8 หลายเดือนก่อน +1

      Thanks. This video is part of the following Medium post: medium.com/towards-data-science/3-easy-ways-to-include-interactive-maps-in-a-streamlit-app-b49f6a22a636
      It also shows how to use folium for mapping as well. Hope it helps :)

    • @gmostafaali
      @gmostafaali 8 หลายเดือนก่อน

      @@AndyMcDonald42 yes got it thank you. Would you please provide the files you are using? In Medium could not find the files from the link you provided properly!!

    • @AndyMcDonald42
      @AndyMcDonald42  8 หลายเดือนก่อน

      @@gmostafaali
      The link to the data is provided within the article and in the video description above. Once on the website, you can download the data to a CSV file
      The data used in this tutorial comes from the Norwegian Petroleum Directorate website and contains the locations of all wells that have been drilled on the Norwegian Continental Shelf. The full dataset can be downloaded here: factpages.npd.no/en/wellbore/tableview/exploration/all
      Hope this helps.

  • @OmaniGamer2023
    @OmaniGamer2023 2 หลายเดือนก่อน

    This map can work in offline environments?