Тёмный
No video :(

Building COVID-19 interactive dashboard from Jupyter Notebook | No frontend/backend coding required. 

Harshit Tyagi
Подписаться 14 тыс.
Просмотров 38 тыс.
50% 1

Опубликовано:

 

21 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 138   
@DataSciencewithHarshit
@DataSciencewithHarshit 3 года назад
If you are looking for the first steps to learning data science or ML, I recommend you check out this course: www.wiplane.com/p/foundations-for-data-science-ml
@panchammahto7837
@panchammahto7837 3 года назад
This is some real encouraging stuff🎉👍 I have been going through a lot of EDA work in recent time, but the static nature made it look bit boring. The amount of interactivity you brought into the jupyter notebook was amazing. Thank you!
@manishgarg6880
@manishgarg6880 4 года назад
It was really awesome, i hope this will be a good project to add to my resume for interview as a fresher ! Please also make a video on how to deploy it . Thanks
@JbotMischief
@JbotMischief 4 года назад
Thanks for the lesson Harshit, I learnt some cool stuff and thanks for leaving the little errors in, it's nice to see as a beginner that everyone gets errors.
@elliott3165
@elliott3165 4 года назад
This is great stuff! Thank you for the tutorial. I’m going to totally start using this!
@yuvarajs2407
@yuvarajs2407 3 года назад
Thanks for the lesson Harshit. It really helped me to complete the last stage of my assignment :)
@namratachavan6317
@namratachavan6317 2 года назад
It was a really great session
@raviprakash9338
@raviprakash9338 4 года назад
Great Video..pls share more videos; a lot of learning I had from your video and best part is dashboard configuration...thanks again..
@health-mania6054
@health-mania6054 4 года назад
Hats off ...... Great Tutorial
@DJRaagaMuffin
@DJRaagaMuffin 4 года назад
Very nicely explained!
@bhargavinerusu7071
@bhargavinerusu7071 3 года назад
Thanks for the great video. please make video on creating dashboard for stock market.
@pinakpaninath4321
@pinakpaninath4321 3 года назад
Hi so much of knowledge I got from this session... I tequest you to please come up with a deployment session
@880dude
@880dude 4 года назад
Harshit bhai this was really good. There are couple of queries i had. if you can address them i would be happy. so we have the data, date wise (day wise). (1) How can we club day and convert it to Week wise and plot, then how can we convert it into month wise and plot? And the main thing which i came here was missing :( (2)i dint find any help with creating dashboards using voila :( :( (3)apne direct bana hua web app dikha diya Please make some videos above request (1)(2)(3) as you get time.
@DataSciencewithHarshit
@DataSciencewithHarshit 4 года назад
1. Try using resample() function from pandas library for changing the frequency to weekly, monthly or quarterly data. 2. Creating a voila dashboard bis very easy, follow the blog post in the description and I'll create a video as soon as I get time.
@darsh_shukla
@darsh_shukla 4 года назад
For more interactive and fast development in python without HTML and JavaScript try Streamlit, or Dash Potly, or Justpy.
@gfrias06
@gfrias06 3 года назад
Awesome tutorial, thank you very much!
@ashu60071
@ashu60071 4 года назад
It was amazing!!! so coolllll. ya please go ahead and make a video on how to deploy it. Big thumbs up for this video.
@markgicharu
@markgicharu 3 года назад
Superb work
@gowthamicherukuri5039
@gowthamicherukuri5039 4 года назад
Hi Harshit! I am supposed to create a button and when the button is clicked, an input box should appear that takes the user input. I created button using widgets.button. An then added onclick behavior to invoke another function which shows user text input. This is working fine when running in jupyter notebook but when I open using voila, I am not able to get the user input box when I clicked the button. Any suggestions?
@DataSciencewithHarshit
@DataSciencewithHarshit 4 года назад
There are certain limitations to voila, I am not sure if the kind of interaction you want to develop is supported by voila. Even if it does ut should be using the right functions and layouts. Keep trying, I'll start a discord channel to discuss these dort of issues with others.
@dolfinho87
@dolfinho87 4 года назад
Excellent! Thanks for sharing!
@vigneshwaran2078
@vigneshwaran2078 3 года назад
Thanks your lesson
@jacobdevage6222
@jacobdevage6222 2 года назад
Great video! Got a Keyerror when following the 6:00 mark. Any tips?
@fernandoerikvillarroelalco1806
@fernandoerikvillarroelalco1806 4 года назад
Great!!!, you have a little bug, on the banner showing the Deaths and Recovered you are using the variable: "deaths_total" for deaths and recovered; regards
@DataSciencewithHarshit
@DataSciencewithHarshit 4 года назад
Thanks for pointing it out. Updated it! Should be fine now.
@syedrahman74
@syedrahman74 4 года назад
This is really useful ! Can I apply my own styling to the .ipynb file Harshit?I mean when I share my Jupyter notebook, I want my own fonts, colors etc,
@DataSciencewithHarshit
@DataSciencewithHarshit 4 года назад
Sure, I'd love to see your version of it. Go full out on adding new useful plots, fonts, colors or info.
@semwondwosen455
@semwondwosen455 3 года назад
why don't you just post the code if you want to share, there is no link or anything. You build a good thing and you don't even want to share properly. now I have to watch your full video and it's too time consuming
@ayushchauhan5589
@ayushchauhan5589 4 года назад
That was awesome.
@TheWonderYearsSchool
@TheWonderYearsSchool 3 года назад
Awesome Videos. Learnt a lot by doing this exercise. How can I deploy this using github?
@ramaachalla6316
@ramaachalla6316 4 года назад
Awesome 👏
@vijays7098
@vijays7098 4 года назад
Great video. How did you fix the formatting of your charts when running Voila?
@DataSciencewithHarshit
@DataSciencewithHarshit 4 года назад
Voila require semicolon after plt.show(); that should do the trick for you. If it still doesn't work for you, I've added the GitHub link, you can check out the code there.
@tanishkajain3026
@tanishkajain3026 3 года назад
Hey! Thanks for the lesson it was very knowledgeable. But I have a doubt, can I know why does the final map using folium doesn't plot few of the countries as per the data?
@DataSciencewithHarshit
@DataSciencewithHarshit 3 года назад
Been a long time but I think it might be because of the location json file I'm feeding to the map.
@shraddhashirke4666
@shraddhashirke4666 3 года назад
Hello sir, it is well explained. I am facing the problem that even after adding the tooltip, neither it is showing the values for confirmed cases, death case etc on map nor throwing any error. Please help me for this. I replaced the NAN values with zero before it.
@sudeshnadutta5702
@sudeshnadutta5702 4 года назад
Hi Harshit, Great video. However, I was wondering if instead of downloading the data everytime we could web scrape the data and then make the dashboard so that it is live. I was trying to web scrape the covid 29 tracker of India but I am not able to figure out how to go about it. Can you help in this regard. Thanks a ton
@visualizationpractical2629
@visualizationpractical2629 4 года назад
Thank for the video.sir
@mamtarajput4804
@mamtarajput4804 4 года назад
nice explanation.
@mshaito
@mshaito 4 года назад
Thanks for this good example, Can i use the code in my research topic "spatial data visualization"
@davidlu8814
@davidlu8814 4 года назад
It's really awesome! Did you get the chance to fix the scatter plot? it seems to not display correctly on Voila.
@DataSciencewithHarshit
@DataSciencewithHarshit 4 года назад
Yes, you can have a look at the deployed version in the description. I used the dark theme and a material template.
@davidlu8814
@davidlu8814 4 года назад
@@DataSciencewithHarshit I was looking at it. It's really awesome. Thanks!
@manikantanmd
@manikantanmd 3 года назад
Excellent video, After removing the nan values the world map is coming. looking for more videos like this. Thanks
@ketakisangole1909
@ketakisangole1909 3 года назад
How did u do it? I am getting an error
@manikantanmd
@manikantanmd 3 года назад
@@ketakisangole1909 hi, may i know at which place you are getting error.
@ketakisangole1909
@ketakisangole1909 3 года назад
@@manikantanmd while plotting map "ValueError: Location values cannot contain NaNs." this error
@manikantanmd
@manikantanmd 3 года назад
@@ketakisangole1909 remove the nan by using the code - - > confirm_df=confirmed_df.drop(subset=['long']) confirm_df=confirmed_df.drop(subset=['lat']) Try this before you going to world map code.
@ketakisangole1909
@ketakisangole1909 3 года назад
@@manikantanmd getting error again "drop() got an unexpected keyword argument 'subset' "
@mohitshetty8535
@mohitshetty8535 4 года назад
time has no attribute named clock after running the interact line
@hajunkim3796
@hajunkim3796 4 года назад
Cool. Thanks.
@AbhishekVigg
@AbhishekVigg 4 года назад
Is there any way we can prepare a front end to feed data into these visualizations? What I I have business that requires to input data dynamically into this script for the data to be visualized.
@rmitaiproject3884
@rmitaiproject3884 4 года назад
Thanks... that's useful. How do you share the voila link?
@kubobubo5051
@kubobubo5051 4 года назад
Is voila supposed to render for a long time? If not, is there a solution to this or do you have a recommended substitute to voila?
@DataSciencewithHarshit
@DataSciencewithHarshit 4 года назад
It should be done within 3-4 mins tops. If it's taking longer check the logs there must ne something for you to look over.
@drashtinayak5320
@drashtinayak5320 4 года назад
Hi, I have an assignment similar to this in my university but the analysis is carried out after merging files into one and as I am a beginner in this field. It would be really appreciated if you can help me to figure out a few things. please let me know asap.
@DeepakSharma-yr5jb
@DeepakSharma-yr5jb 4 года назад
I wrote the same code as you for section Slide to check for the worst hit countries IN[106], it build function def plot_cases_of_a_country(country): .... I am getting error AttributeError: 'str' object has no attribute 'iloc' I don't know why, please advise
@DataSciencewithHarshit
@DataSciencewithHarshit 4 года назад
Check for what's in the object where you are trying to use iloc, you have a string and not a dataframe
@abdulbasithos8805
@abdulbasithos8805 4 года назад
Good and nice tutorial. Thanks so much bro. Could you please help in porting Python scrapped data from different source which are plotted with Plotly and i need to create a interactive dashboard using dash and publish on it. Ex. Different Department performing %
@ahmadal-fureidy101
@ahmadal-fureidy101 3 года назад
Ive Got an error at the line folium.Circle(
@aniketgurav5661
@aniketgurav5661 2 года назад
I'm doing this project as my final year project, but getting lots of errors.... So can someone please send me files without errors.. please it's urgent ..
@ADITYA-if5pz
@ADITYA-if5pz 3 года назад
voila showing blank outputs of plotly charts ... any suggestion?
@DataSciencewithHarshit
@DataSciencewithHarshit 3 года назад
Try refreshing or you can check out the code from my GitHub repo. Also, I think voila is giving some errors these days(not sure). Other way to try it out is using jupyter nbconvert website and hosting on binder hub.
@hankcooper.608
@hankcooper.608 3 года назад
was looking for a github repository link for the code. is there one I can't find it. thanks.
@sriadityab4794
@sriadityab4794 3 года назад
Can you make a video on time series model deployment?
@crzayboy309
@crzayboy309 4 года назад
heroku deployment ? plese give me some resource. Can I host this in my website ?
@DataSciencewithHarshit
@DataSciencewithHarshit 4 года назад
github.com/voila-dashboards/voila-heroku/blob/master/README.md
@maanavdoshi3100
@maanavdoshi3100 4 года назад
Hi Harshit, what is the purpose of defining a blank temp_df?
@DataSciencewithHarshit
@DataSciencewithHarshit 4 года назад
Pls try cloning the repo and running the code on your machine. It's been a long time, I'll have to check it.
@tejbhatt20
@tejbhatt20 4 года назад
DO we need to give citation to your github or channel if we put your code on github?Can we put this project on resume?
@DataSciencewithHarshit
@DataSciencewithHarshit 4 года назад
I think you should try and build over this foundation and then you can put it in your resume. Pls do give due credit to the channel.
@sorobabt
@sorobabt 4 года назад
this is perfect timing. i just installed python and trying to learn it. How can i make a moving average and plot it side by side? #Check the details of your country or the World interact(plot_cases_of_a_country, country='India') #interact(plot_cases_of_a_country, country='World') ipywLayout = widgets.Layout(border='solid 2px green') ipywLayout.display='none' # uncomment this, run cell again - then the graph/figure disappears widgets.VBox([fig], layout=ipywLayout) this shows me the line plot of the confirmed and death cases. How can i add a moving average of confirmed cases?
@kaladharnaidusompalyam851
@kaladharnaidusompalyam851 4 года назад
Hi Harshit. i have doubt @video timing 03:57.after data cleaning got done,how to apply data cleaning to all dataframes [short way to select all four datasets].please anyone reply
@DataSciencewithHarshit
@DataSciencewithHarshit 4 года назад
There are different ways to do that in general but you can configure your code to use foor loops or write functions or may be merge the files... Read about these and then check which one aligns with your end goal.
@kaladharnaidusompalyam851
@kaladharnaidusompalyam851 4 года назад
@@DataSciencewithHarshit tq. Do more videos on pyspark in jupyter. Because very less videos available in youtube related to jupyter stuff.
@ashishgupta7976
@ashishgupta7976 4 года назад
Very nice vedio, i created my notebook and installed Voila. when i run it, it shows an internet page says running and then it goes white. nothing happens..it just stays there on white page forever. Please please suggest.
@DataSciencewithHarshit
@DataSciencewithHarshit 4 года назад
Check for errors in the terminal and make sure there is no error in your notebook.
@MrYamrajji
@MrYamrajji 4 года назад
I am unable to reach at row data link. would you please provide links in description for extract?
@DataSciencewithHarshit
@DataSciencewithHarshit 4 года назад
You can take the link from my GitHub repository. Will add it as well in a few minutes.
@user-wk5ee5dp7m
@user-wk5ee5dp7m 6 месяцев назад
where data set
@thefortunext
@thefortunext 4 года назад
Hey please help me, I am getting a parsr error unable to read the csv file I confirmed its documentation as it is from this video but its not working.Please help
@DataSciencewithHarshit
@DataSciencewithHarshit 4 года назад
Check with the blogpost in the description.
@thefortunext
@thefortunext 4 года назад
@@DataSciencewithHarshit sir that country.csv file is not available on the github repository u mentioned in description...from where Can I get that?
@bhuvaneswar5a371
@bhuvaneswar5a371 4 года назад
After installing the voila package it shows some errors while running the program. Please help me.
@DataSciencewithHarshit
@DataSciencewithHarshit 4 года назад
What's the error?
@bhuvaneswar5a371
@bhuvaneswar5a371 4 года назад
Sir I successfully installed voila.But when I am creating a dashboard it shows some errors
@sachin_s3932
@sachin_s3932 4 года назад
How to deploy the voila that we made
@mohammedshahbaazshareef5549
@mohammedshahbaazshareef5549 4 года назад
Please make heroku deployement video
@tumble_dont_fall
@tumble_dont_fall 4 года назад
Please how did you align your HTML format in the center after extracting from the notebook to voila?
@tumble_dont_fall
@tumble_dont_fall 4 года назад
Tried reading the docs on nbconvert template structure, but can't comprehend what they're explaining
@DataSciencewithHarshit
@DataSciencewithHarshit 4 года назад
I used the material template, the template does it for me. Search for voila material template. Also, I'll try and make another video on deploying the app
@tumble_dont_fall
@tumble_dont_fall 4 года назад
@@DataSciencewithHarshit Thank you, would look that up.
@anilnehare1086
@anilnehare1086 4 года назад
pls share video from start to end hands on till deployment
@sudeshnadutta5702
@sudeshnadutta5702 4 года назад
How can I put the Jupyter notebook into voila? I am not able to get that
@DataSciencewithHarshit
@DataSciencewithHarshit 4 года назад
You don't have to put it in Voila. Just install the package and run the command as shown in the video. Voila will create a standalone webpage from the notebook.
@smritisingh9186
@smritisingh9186 4 года назад
Hey please help. I'm unable to find the country Dataset
@DataSciencewithHarshit
@DataSciencewithHarshit 4 года назад
Hi, try using the link I've used in my repository. The data repository has stopped maintaining the country dataset as per my knowledge. You can try using the link that I've used.
@youthoober21
@youthoober21 3 года назад
YOUR WORLD MAP IN THE END IS NOT WORKING,,, WHY?? AND how to make it work plzz reply
@DataSciencewithHarshit
@DataSciencewithHarshit 3 года назад
There are some issues with the latest version of voila and jupyter. It's not been working. Try using jupyter nbconvert
@youthoober21
@youthoober21 3 года назад
@@DataSciencewithHarshit The Updated CSV files had some NAN values thats why it was not plotting the locations on map i dropped them before plotting working fine now. Thanks for the reply
@ketakisangole1909
@ketakisangole1909 3 года назад
@@youthoober21 getting the same issue can you plz let me know how you did it????? plz reply
@wfgemyd
@wfgemyd Год назад
@@DataSciencewithHarshit I have the same issue, pLZ HELP
@wfgemyd
@wfgemyd Год назад
@@ketakisangole1909 have you found any solution to this?
@ravirajtalwar2474
@ravirajtalwar2474 4 года назад
hi it showing error "interact" is not defined
@DataSciencewithHarshit
@DataSciencewithHarshit 4 года назад
Make sure you have imported interact before using it. Refer to the GitHub repository in the description if you're facing any issues.
@castillo7334
@castillo7334 2 года назад
hello, I have an error in "fig = px.scatter(sorted_country_df.head(10), x='country', y='confirmed', size='confirmed', color='country', hover_name="country", size_max=60) fig.update_layout() fig.display()" the error displayed is: ValueError: The value of 'x' is not the name of a column in 'data_frame'. Expected one of ['country_region', 'last_update', 'lat', 'long_', 'confirmed', 'deaths', 'recovered', 'active', 'incident_rate', 'people_tested', 'people_hospitalized', ' mortality_rate ', 'uid', 'iso3', 'cases_28_days', 'deaths_28_days'] but received: country please help
@jyotilavhale4917
@jyotilavhale4917 3 года назад
Hii sir can you send mi countrywise_dataset .its not present on github.. Please 🙏
@DataSciencewithHarshit
@DataSciencewithHarshit 3 года назад
raw.githubusercontent.com/CSSEGISandData/COVID-19/web-data/data/cases_country.csv
@jyotilavhale4917
@jyotilavhale4917 3 года назад
Thanks sir😊
@vinayv9675
@vinayv9675 4 года назад
Harshit, your github link is not working. Can you take a look at it.
@DataSciencewithHarshit
@DataSciencewithHarshit 4 года назад
There is some problem that I've encountered with my GitHub account, I am trying to get it resolved by the GitHub support team. Meanwhile, you can use this Colab Notebook as a temporary solution: colab.research.google.com/drive/19FpY7Ri0n9LUOViO-4bRpF94U9TbVE4_?usp=sharing Apologies for the inconvenience caused.
@tejbhatt20
@tejbhatt20 4 года назад
can you post the github link again ? it is not working and showing webpage not found !
@DataSciencewithHarshit
@DataSciencewithHarshit 4 года назад
There is some problem that I've encountered with my GitHub account, I am trying to get it resolved by the GitHub support team. Meanwhile, you can use this Colab Notebook as a temporary solution: colab.research.google.com/drive/19FpY7Ri0n9LUOViO-4bRpF94U9TbVE4_?usp=sharing Apologies for the inconvenience caused.
@tejbhatt20
@tejbhatt20 4 года назад
@@DataSciencewithHarshit i hope your issue is resolved and keep making more projects on ML & DL ! Great Video BTW!
@risanixm
@risanixm 4 года назад
how to turn a dashboard into a website??
@DataSciencewithHarshit
@DataSciencewithHarshit 4 года назад
Deploy it on heroku, use the link in the description.
@sudeshnadutta5702
@sudeshnadutta5702 4 года назад
How can I get the dashboard link to send to others?
@DataSciencewithHarshit
@DataSciencewithHarshit 4 года назад
Deploy your voila dashboard on heroku or any other cloud platform.
@sudeshnadutta5702
@sudeshnadutta5702 4 года назад
@@DataSciencewithHarshit Yes did that. I used Binder but there seems to be a problem. whenever the link is not used for a long time it does not open when others whom I have sent the link try to access
@sreesree_world
@sreesree_world 3 года назад
Same problem happened for me. Can you please tell what did you do to overcome it?
@mostafasamyification
@mostafasamyification 4 года назад
Does it work with google colab ???
@DataSciencewithHarshit
@DataSciencewithHarshit 4 года назад
I think you'll have to download the .ipynb and then run voila over it after making sure every dependency is met. Let me know if you find a better way. Would love to know! :)
@VALedu11
@VALedu11 4 года назад
@@DataSciencewithHarshit you have done one great job. Runnin it in COLAB is posing issues. Could you please help me in setting up the VOILA dependency. In my case, i get a blank below the slider and neither is there any ERRO message thrown. Thank you in advance
@VALedu11
@VALedu11 4 года назад
@mostafa dentist : did it work in COLAB ?
@mahmudzayn1471
@mahmudzayn1471 3 года назад
I need your help for my thesis... please help me.. can i give your email sir ???
@Vidush05
@Vidush05 4 года назад
Hi, I am facing an error when deploying into the Heroku I tried with windows and ubuntu I am getting the app builds successfully but shows application error could you please help me, sir, Waiting for your reply! here is the link to the GitHub: github.com/vidush5/voila
@DataSciencewithHarshit
@DataSciencewithHarshit 4 года назад
Try deploying using this link: github.com/voila-dashboards/voila-heroku
@Vidush05
@Vidush05 4 года назад
@@DataSciencewithHarshit I tried sir again getting the same error. Could you please make a video it would be great thanks in advance
Далее
would you eat this? #shorts
00:29
Просмотров 283 тыс.
Zombie Boy Saved My Life 💚
00:29
Просмотров 8 млн
AI business ideas funded by YCombinator
16:31
Просмотров 36 тыс.
5 Things I Wish I Knew Before Learning Streamlit
21:34
Why you should not be a data scientist
12:33
Просмотров 758 тыс.
25 Nooby Pandas Coding Mistakes You Should NEVER make.
11:30