Bar Graph (RadioItems) - Python Dash Plotly

preview_player
Показать описание
Using Radioitems and bar graphs, this tutorial will teach you how to make interactive data visualizations with Dash Plotly, all in python. Given that we're using real data, you will learn all about the calls made to save New York City animals.

View my book - The Book of Dash:

The code:

The CSV data used:

Plotly bar graph:

Dash Radio Item component:

Figure layout reference:

Video Layout:
00:00 - What we're Going to Learn
01:40 - The Data
02:54 - Filtering Data
04:12 - App Layout
09:06 - Callback Decorator
12:20 - Coding the Bar Chart
17:39 - Visualizing the Bar Chart

To contribute to animal welfare:

****************************************************************************************
****************************************************************************************
Рекомендации по теме
Комментарии
Автор

Thank you sir, I used dash and plotly to make a dashboard as an internship selection test. I did not get selected, but I updated and made it better and got an internship with a new dashboard. All thanks to your tutorials, I was in a hurry initially, but now, I have decided to watch every video of yours.

Suggestion: The python file in the end was around 800 lines. I found ways to break the whole file into different files by callbacks, layouts, others utility functions etc. That was much easier to navigate.

johnwick
Автор

Hi Sir, On the whole Youtube you are the best teacher mentor I have ever seen with no cost, I request you to please come with dash basic structure videos

LuckyPanwar
Автор

Not sure why, but for some reason simple and effective Dash tutorials are super hard to come by on the internet and your videos make it super simple and easy to follow. Thank you! If there's an opportunity to request certain topics on Dash, I'd love to provide feedback!

semidevilz
Автор

All your tutorials are so well made! I learned so much from them and thanks to you I made through my first quite complicated Dash web app for a client. Thanks a lot for your work! :-)

agataWKW
Автор

Really enjoy your videos on Dash Plotly charts, diagrams.
Could you please also make a tutorial on histogram with dropdown for aggregation function choices(a drop down where you can choose a certain aggregation function such as sum, count, mean)?
I'm stuck with a project for creating a dropdown for histogram with Plotly Dash:(
And I can't find a good example online, the official website does have an example but when I supply my x and y values in my dataframe with the code provided, it's complaining about
"dictionary update sequence element #0 has length 5; 2 is required"

junyiyu
Автор

Your explanation on plotly and dash is simply the best... Keep on going... @charmingdata

azharkazi
Автор

Thanks so much for making this video. I really appreciate you taking the time to lay everything out step-by-step; it's definitely helping me understand Dash and reinforce good habits. I do have a question concerning the layout for the x-axis: I copied your code exactly, including maintaining the update_layout() with your selected parameters ({‘categoryorder’: ‘total ascending’}). The problem is that on my app, the x-axis, when 'Month Call Made' is selected, isn't ordered chronologically. I've tried changing the value for categoryorder and checking the docs—while choosing different values does change the order slightly, nothing I've tried successfully sets the months to ascend along the x-axis, beginning with January. Any ideas for how to fix this? Any tips are appreciated!

s.d.fogarty
Автор

Hello Charming . In a bargrah like this, that the rectangles are stacked on top of one another, how can you put the total y-axis value on the top of each bar as a text? Thank you!

uni
Автор

I'm really enjoying your videos and learning a lot from them, could you make video about dcc upload and to plot graphs with

shafiqswais
Автор

Hi
Hope you r doing well
I need one help in plotly but unable to solve it it could be grateful if any have good experience for the same

nidhipathak
Автор

Wow, this tutorial is wonderful and detailed.
I would like to see dash applications on machine learning and artificial intelligence
I am a newbie in dash and would love to connect with you.
Any chance i can get your email or preferred mode of communication.
P.s I have subscribed to your content. Very good stuff.

tcokeke
join shbcf.ru