Mapping over 1 Million points with Plotly Datashader

  Рет қаралды 8,211

Charming Data

Charming Data

Күн бұрын

Пікірлер: 31
@CharmingData
@CharmingData 4 жыл бұрын
Hey everyone, don't forget to download the data and code here: github.com/Coding-with-Adam/Dash-by-Plotly/tree/master/Plotly_Graphs/BigData Join me on LinkedIn: www.linkedin.com/in/adam-schroeder-17b5a819/
@caroheymes3982
@caroheymes3982 2 жыл бұрын
Hello, this is a great tutorial. great job ! But when we go to the scale of a country or a continent, there is a problem of projection between plotly and datashaser. The image appears twisted. I tried to solve the problem with : # Project longitude and latitude onto web mercator plane. from datashader.utils import lnglat_to_meters as webm data['lat'], data.loc[:, 'lon'] = webm(data['latitude'],data['longitude']) But it doesn't work. If you have an idea it would be great !
@gatorpika
@gatorpika 3 жыл бұрын
Nice explanation and solution. Thanks for making this!
@CharmingData
@CharmingData 3 жыл бұрын
You're welcome @Gatorpika. Are you liking dash so far?
@gatorpika
@gatorpika 3 жыл бұрын
@@CharmingData I was just interested in datashader, but the dash stuff looks interesting. I have a need to map millions of points for my company and our expensive commercial package doesn't do it well. I found datashader before and watched some videos of guys walking through the taxi example, but you explained more of what the code was doing which was useful.
@leo1018
@leo1018 4 жыл бұрын
Great Video!TKS for your sharing!
@amir_forooghi
@amir_forooghi 4 жыл бұрын
Your videos should be on official dash docs. Well done =)
@CharmingData
@CharmingData 4 жыл бұрын
Thanks Amir
@gazul05
@gazul05 4 жыл бұрын
Great! Thanks a Lot... Greetings from México. 💯👍
@CharmingData
@CharmingData 4 жыл бұрын
Saludos Guadalupe. Muchas gracias por ver mi canal de Charming Data.
@pankajsc96gtl
@pankajsc96gtl 4 жыл бұрын
Thank you
@CharmingData
@CharmingData 4 жыл бұрын
You're welcome, @Pankaj I hope you get to work with Big Data :)
@pankajsc96gtl
@pankajsc96gtl 4 жыл бұрын
@@CharmingData Actually I am a Telecom engineer and I deal with KPI data of telecom cells on hourly basis. With the help of your tutorials now I have my own dashboard. Things which used to took hours for me earlier now I'm doing in seconds. Many Many Thanks to you :))))
@CharmingData
@CharmingData 4 жыл бұрын
@@pankajsc96gtl I'm glad they have been helpful, @Pankaj. In case you're interested in supporting me in making more of these tutorials, it's just a couple of coffee cups a month 🤗 www.patreon.com/charmingdata Thank you,
@gouthamansaravanan7692
@gouthamansaravanan7692 9 ай бұрын
When I try this my image is not getting overlayed on the map and there is an offset issue can anyone help?
@Jessica112197
@Jessica112197 4 жыл бұрын
Truly an awesome video as always, thanks for all your work. Saludos desde México :)
@CharmingData
@CharmingData 4 жыл бұрын
Saludos Jessica. Gracias por tu comentario. Como te va con Dash Plotly? Lo usas para el trabajo o estudios?
@Jessica112197
@Jessica112197 4 жыл бұрын
@@CharmingData Bastante bien, lo uso para estudios. La mayoría de tus videos (si no es que todos) me sirven para trabajar en mi proyecto de tesis. Terminando veré la forma de apoyarte por todo tu trabajo :)
@CharmingData
@CharmingData 4 жыл бұрын
@@Jessica112197 gracias Jessica. Suerte con tu tesis
@alhdlakhfdqw
@alhdlakhfdqw 3 жыл бұрын
thank you very much for sharing this great content please keep it up :)
@ankurkumar9660
@ankurkumar9660 Жыл бұрын
Hey! Adam data is not available , please provide me the data
@alhdlakhfdqw
@alhdlakhfdqw 3 жыл бұрын
how does it open on a local server when you run the code? thank you
@AugustoGeografo
@AugustoGeografo 10 ай бұрын
As a Geographer, I would love to use datashader, but no Geography journal will accept cartographic products without legends. Not even in my consultancies this will be well received. For the life of me, I can’t understand why the good people in holoviews would make such an incredible tool but leave it without color ramp legends.
@משהדזיין
@משהדזיין 2 жыл бұрын
hey, how does the datashader know that the data is from chicago without enter lon & lat (empty cells)
@CharmingData
@CharmingData 2 жыл бұрын
Hi Moshe, What do you mean? I thought it does use lat lon, here on code line 22: aggs = cvs.points(dff, x='Longitude', y='Latitude')
@משהדזיין
@משהדזיין 2 жыл бұрын
@@CharmingData in my data there is also lat lon and he is not reading and show me blue screen after running the pro
@anantharamaniyer9135
@anantharamaniyer9135 3 жыл бұрын
Thank you for this one too! I have been using Plotly Dash and slowly scaling the amount of points to be plotted on a map from a few hundreds to a few million points of IoT data which is where I discovered its best to use Datashader rather than plotly maps directly as the browser has limitations of the amount of data it can handle. I also noticed Dash providing support for Holoviews and within it, also integrating Datashader (link - > dash.plotly.com/holoviews). Can you please do a tutorial on Holoviews and Datashader together? I am especially interested in Linked Selection where you can select a map over an area and the other chart with an associated graph updates based on the points selected...Thanks.
@CharmingData
@CharmingData 3 жыл бұрын
Hi @Anantharaman Yes, Dash with Holoviews is supposed to be great for large data. I'll try to make time in the future to learn it more, and see if there is space for a tutorial on the topic. Thanks for the suggestion :)
@anantharamaniyer9135
@anantharamaniyer9135 3 жыл бұрын
@@CharmingData - i have tried the code out and also used my own dataset but found one thing missing. On Plotly Dash's page introducing Holoviews and Datashader, the code for linked selction with a map and a bar chart is incomplete. I have raised it on the community page on Plotly announcements but haven't had any response yet. Perhaps I I missing something.... would be good to have your views too. Equally you should also check out Panel by PyViz which allows for quite a pythonic way of creating dashboards without having to deal with the topic of Callbacks. If you make any tutorials on that I would be the first to subscribe!
@luggieToast
@luggieToast 7 ай бұрын
unfortunately the data is 404
@JonVlogs123
@JonVlogs123 4 жыл бұрын
Nice graphs! 👍 MAGA
Support each other🤝
00:31
ISSEI / いっせい
Рет қаралды 60 МЛН
Чистка воды совком от денег
00:32
FD Vasya
Рет қаралды 6 МЛН
Introduction to Dash Plotly - Data Visualization in Python
29:21
Charming Data
Рет қаралды 805 М.
Why Does Diffusion Work Better than Auto-Regression?
20:18
Algorithmic Simplicity
Рет қаралды 396 М.
How Games Fake Water
22:52
Acerola
Рет қаралды 225 М.
Display Interactive Maps in Python using Flet | Part 1
16:26
Henri Ndonko - TheEthicalBoy
Рет қаралды 4,4 М.
When Optimisations Work, But for the Wrong Reasons
22:19
SimonDev
Рет қаралды 1,1 МЛН
Build and Deploy your Multipage App with Dash Plotly
52:42
Charming Data
Рет қаралды 72 М.
Writing My Own Database From Scratch
42:00
Tony Saro
Рет қаралды 260 М.
Superpositions, Sudoku, the Wave Function Collapse algorithm.
14:28
Martin Donald
Рет қаралды 705 М.
TLS Handshake Explained - Computerphile
16:59
Computerphile
Рет қаралды 569 М.
Support each other🤝
00:31
ISSEI / いっせい
Рет қаралды 60 МЛН