Hi everyone,
I’m excited to share my first Dash application, the NFL Offense Stats Dashboard! This app visualizes NFL offense statistics with interactive charts for both player and team stats over multiple seasons.
I’m looking for feedback and suggestions to improve my dash skills.
GitHub Repository: NFLOffenseStatsDashboard
Thank you!
Alfredo
2 Likes
Congratulations, @Alfredo49
This app looks impressive. And the code is professionally-written
Where did you get your data from? Don’t forget to cite the original author of the data if necessary.
Were you planning to host this app on the web? Pythonanywhere is a good hosting option and it has a free tier.
What do the other tabs look like?
1 Like
Thanks, @adamschroeder,
I really put some effort to go beyond a basic dashboard.
I cited the data source in the GitHub repository, but I missed doing so in this post. Thanks for the reminder.
Regarding hosting, I also considered PythonAnywhere, but I already host a free app there for another project (a to-do app created with Flask). Do you know of any other free hosting options?
As for the other tabs, the line chart changes the player’s position and stats displayed, but the chart structure remains the same. For the bar chart, it simply changes the year.
Thank you, @Alfredo49 .
I was asking about hosting the app, because I’d like to promote it on social and at the next Dash Club newsletter in June.
There is render.com but it’s slow. I much prefer pythonanywhere. You might need to use a different email and open a new account on pythonanywhere to get access to a free tier.
I would love to be part of the newsletter!
I will host it on pythonanywhere with a new account as you mentioned and also will add more charts to the dashboard to make it more comprehensive.
What is the deadline to have my dashboard included in the June’s newsletter?
@Alfredo49
On PythonAnywhere you don’t need to use a different email, you can just sign up as a new user with a different username. If you create a new username of NFLStatsDashboard, then your free site would be https://nflstatsdashboard.pythonanywhere.com/
1 Like
Thank you Ann.
@Alfredo49 You still have time. Probably about 3 weeks.
Sweet. Thank you @Alfredo49
Is there a way to make the years align in the center of each box?
Hi @Alfredo49
You could try to use dbc.Tabs instead of dcc.Tabs. It’s likely the year will be centered better in each tab.
Also, another tip with pythonanywhere, you can enable HTTPS from the Web
tab,
It will fix this:
1 Like
Hello @adamschroeder & @AnnMarieW ,
Thank you for your help to deploy and improve my dashboard!.
I already applied the changes, using dbc was the perfect solution to make the tabs components responsive (fixing the centering problem) and the HTTPS is now active.
Regards,
1 Like
Beautiful, I’ll make sure this goes into Dash Club newsletter
2 Likes
@Alfredo49
we just added your app
1 Like