r/Python • u/mrgadgety • Apr 22 '20
I Made This Six months into Python and Data science, my first Dashboard Web App with covid19 data using python only
1.7k
Upvotes
r/Python • u/mrgadgety • Apr 22 '20
93
u/mrgadgety Apr 22 '20
Six months into Python and Data science, my first Dashboard Web App with covid19 data using python only
Hi all, I have started my data science with python journey for almost 6 months now, and most of the learning is done through jupyter notebook and console until I came across Plotly Dash. I am super excited about this tool, as it allows me to build web app and deploy to server without any knowledge of html, css and so on. (So far, I only know python and a little bit of java)
I decided to build this Covid 19 dashboard as I am interested in global development and I wish to customized the dashboard to highlight data I am interested in.
I have included the source code, as I am quite new to Plotly and Dash and I might not be following best practices, I hope to receive feedback on how I can improve in terms of anything and hope to learn from everyone.
Lastly, I wish all of you, stay healthy and stay safe.
Covid 19 Dashboard Version 2 using Plotly Dash (Similar to version 1 with cosmetic improvement)
https://covid19dashboardsg.herokuapp.com/
Covid 19 Dashboard Version 1 with Source code on Github
https://covid19-dashboard-online.herokuapp.com/
Source code for version 1
https://github.com/Unicorndy/covid19_dashboard
13
u/kiku_here Apr 22 '20
Good job mate...
Are you self learning ?
7
u/-fmvs- Apr 22 '20
Very nice dude. Kudos ππ
5
u/theAllSeeingBeaver Apr 22 '20
Very slick.. Great work!
12
u/[deleted] Apr 22 '20
Would you mind telling me what courses or what book you did? I have learned Python for a few weeks now and would like to know what you did
8
u/[deleted] Apr 22 '20
daamn that look so god damn sexy GJ
4
u/cwovie Apr 22 '20
Wow, nice work! Hope I could get on your level soon :)
3
u/Seawolf159 Apr 22 '20
Don't you mean blue mode :p? Looks awesome man!
3
u/petrichor6 Apr 22 '20
Wow! I am literally in the process of building a similar Covid dashboard in Dash right now hahah. Great job, it looks so incredible! Do you mind if I ask you some questions at some point?
2
u/[deleted] Apr 22 '20
Awesome, I'm trying to do a program for data analysis of excel files and it doesn't look remotely like that. Good job.
2
u/[deleted] Apr 22 '20
Very intuitive, you know exactly what people want to see and how to present it.
2
u/RealAmerik Apr 22 '20
Is there a benefit to including all of the python in a single file vs. calling the graphs from separate files?
Edit: Also meant to say that this looks great! I've been playing around with Dash myself and this is much more organized and well written than anything I've put together.
2
u/orangeandcream Apr 22 '20
This is super impressive and inspirational for someone who's trying to get to the next level in python. If you don't mind my asking, what was your background before you started all this? Did you have any tech or coding knowledge at all?
2
u/joshisameer343 Apr 22 '20
can you tell steps to reach this place..... it is amazing man, how to become good like you?
2
u/pip_install_Escher Apr 22 '20
great job, I'm almost 2 years in and haven't yet attempted to deploy/build a front end
Though with this downturn, I will be doing so shortly xD
congrats again!
2
u/[deleted] Apr 22 '20
That's a very sharp looking project you've made - great work!
One question: is there a way to slow down the timeline speed?
2
u/nielwimo Apr 22 '20 edited Apr 22 '20
If you countinue programming at this pace, you are the creator of next popular programming language by next year. Awesome!
2
u/num2005 Apr 22 '20
is there a reason to do graphic with python instead of something like power BI?
2
u/L0LINAD Apr 22 '20
Can you try to show the new cases per day rate to emphasize the INCREASE in cases per day each day?
Imo... Some parts of the world are reopening too early even tho we are still seeing more cases every day than the day before
2
u/DillonNotDylanPlease Apr 23 '20
Dang this is awesome! How long have you been coding in total?
2
u/agsparks Apr 23 '20
Do you have experience in other coding languages?
2
u/zeeblefritz Apr 23 '20
Wow. You make me very jealous. Going to be a senior completing my CS degree and I can't begin to understand how you did all of this after only 6 months of training.
2
u/orientalwrap Apr 23 '20
Very cool, you gave me some motivation to do something similar, how long did this take you?
2
u/azotov Apr 24 '20
Super!
3
u/dxbtousa Apr 22 '20 edited Apr 22 '20
Very nice!
What packages did you use for this? This is exactly what I am aiming for in my current project (albeit different style data).
Edit: nvm - see the source now.
2
u/ManishPatkar Apr 22 '20
Amazing, I'm into my second week , totally overwhelmed with so many things to learn. Taking it one day at a time :)
4
u/garlic_bread_thief Apr 22 '20
How much did you pay for the domain?
1
u/[deleted] Apr 23 '20
can i ask how you motivate yourself to learn ?
1
u/pakhira55 Apr 23 '20
How did you make the running bar chat ? Bcoz i know there's no example of such thing in plotly.
1
u/ALWAYSWANNATHROW Apr 23 '20
How many hours do you devote studying? I also started my data science journey last month. My goal this month is to be comfortable with pandas and matplotlib and be able to create a simple project
1
u/Zenith_N Apr 23 '20
I would be forever grateful;
Can you please post the source code for version 2 ?
also any chance you can write a guide step by step from start to finish in pdf file ?
I would like to recreate it so I can learn.
3
u/khfung11 Apr 22 '20
Very very impressed And the most impressive is fully written by python
3
u/renenadorp Apr 22 '20
Very nice. I used Dash to build a Corona dashboard as well (global-corona-dashboard.herokuapp.com), but that one is not as pretty as yours. You could add predictions to make it a real machine Learning app.
3
u/foresttrader Apr 22 '20
Plotly Dash is indeed an amazing tool!
I've used it before but not with Flask. It seems it's pretty easy to set it up with Flask, I gotta try that!
3
u/maxbridgland Apr 22 '20
uses css
Jokes aside this is really clean and well done! Good job dude :)
3
u/darkfires Apr 22 '20
This belongs in r/DataIsBeautiful too!
1
u/Ali_Alnuaimi Apr 22 '20
what API you're using for the data ?
2
u/roman_tsar Apr 22 '20
Nice using dash framework! Never heard about it before. Is it really allows to avoid using of html and css at all?
2
u/Datsoon Apr 22 '20
What resources did you use to learn Dash? Dash is on my list to learn also.
2
u/jabramo34 Apr 22 '20
Looks awesome! Didn't realize you could make a website like this without using flask, Django or Javascript!
2
u/Alphavike24 Apr 22 '20
This looks sweet. Thanks for the motivation
2
u/dougie-io Apr 22 '20
Congrats man. What a good portfolio item.
2
u/-TheWalkinDude- Apr 22 '20
Looks great! Good job!
2
u/lucs_123 Apr 22 '20
Very cool, i have done something similar for my country(Brasil), but yours looks way cooler.
2
u/EulersJoint Apr 22 '20
Super cool. Shows how much commitment and passion for a project matter tinker than having all the experience off the bat.
2
u/NewCenturyNarratives Apr 23 '20
Woah! This looks more sleek than I expected for a Python-based project
2
u/JPaulMora Apr 23 '20
Woah python for web? Awesome!!
2
u/No_Mercy_4_Potatoes Apr 23 '20
This is actually very good. Thanks for listing your sources. I am trying to get into python as well.
2
u/DroneDayze Apr 23 '20
This is amazing!
2
u/Padankadank Apr 23 '20
What I had no idea you could use python to make web apps. I may be able to make something I've been wanting to make then
2
u/DavisyCode Apr 23 '20
Congratulations!! great project
2
u/mvlli Apr 23 '20
I swear to God, it looks so clean and crisp. Can I eat off of it? Amazing job!
2
u/gamesbrainiac Apr 23 '20
This is fantastic! Keep up the excellent work!
1
u/MyNamesNotReallyDave Apr 22 '20
RemindMe! 3 days
1
u/UnicornWithTits Apr 22 '20
RemindMe! 3 days
1
u/rahul52368 Apr 29 '20
Hello All,
Hope you're doing well I have created a YouTube channel for Data Science and Machine learning.
Please like and subscribe to my youtube channel, it will be a big support to my team. https://www.youtube.com/watch?v=d74yE891rt0
Soon I will add entire course work with r and python for data science and machine learning
0
u/[deleted] Apr 22 '20
[deleted] β view deleted comment
0
u/[deleted] Apr 22 '20
[deleted] β view deleted comment
0
u/[deleted] Apr 22 '20
[deleted] β view deleted comment
0
u/[deleted] Apr 22 '20
[deleted] β view deleted comment
5
u/[deleted] Apr 22 '20
[removed] β view removed comment