How to make a bar chart race with python (30 lines of code + example scripts)

How to make a bar chart race with python (30 lines of code + example scripts)

Sjoerd Tilmans

2 года назад

7,342 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Sjoerd Tilmans
Sjoerd Tilmans - 13.07.2022 16:50

Please post any questions you might have in the comments of this video. I will try to keep an eye on the comment section to help out.

Ответить
Arya Manisha
Arya Manisha - 22.08.2023 08:34

I want to learn more data analysis... Please make more video on it sir❤

Ответить
Orcas
Orcas - 08.08.2023 23:17

Hi Sjoerd, thanks for this end to end tutorial. Do you know a way to export the canvas as an mp4 video like the bar_chart_race using ffmpeg?

Ответить
Gabriel Lourenço
Gabriel Lourenço - 13.07.2023 03:37

is it possible change the comma for dot? I do know where I should do it in the code...

Ответить
Red Forest x
Red Forest x - 13.06.2023 20:22

Using this right now. Dude, you're the man!!! Will definately give you a shoutout everytime I use it

Ответить
Alex Macedo
Alex Macedo - 08.06.2023 01:26

This is sooo good that I decided to buy you a coffee, Sjoerd! Nice job on this one! I wonder how to show more than 10 bars at the same time as I have more than 10.

Ответить
Rahmoun Tahar Zakaria
Rahmoun Tahar Zakaria - 19.05.2023 16:06

how did you manage to align each picture perfectly with its repective bar , trying to do it since a week but no avail

Ответить
ELMEHDI FAHIM
ELMEHDI FAHIM - 12.05.2023 17:56

Thank you for this video, indeed I have a problem how I read a file with a date like this YYYY-MM

Ответить
Angel CV
Angel CV - 09.05.2023 10:45

thanks

Ответить
JamesTSV
JamesTSV - 21.03.2023 01:32

ModuleNotFoundError: No module named ‘sjvisualizer’
And I did it exact like in video
Also I can see it in pip list
But can’t use it in pycharm 😢

Ответить
Bineesh Alakkal
Bineesh Alakkal - 23.02.2023 18:01

How to change the Orientation of the Bar chart to vertical?

Ответить
HoQu Tech
HoQu Tech - 28.01.2023 12:01

Thank you very much!

Ответить
Ibtee90
Ibtee90 - 31.12.2022 11:50

I want to show more than 10 bars at the same time as I have 25 options. Even if they get outnumbered and disappear, that is fine but at least they should appear once. Is that possible?

Ответить
Ibtee90
Ibtee90 - 31.12.2022 10:29

Hi, nice visualization. I want to apply it on my data. It is running but it loads into a full screen and then after running the visual, that window freezes up and is difficult to close/ rerun. I am on M1 Mac and I start getting the processing rainbow wheel after that. The kernel dies then on JN and I have to restart to run the visual again. Any advice?

Ответить
akwan
akwan - 26.12.2022 07:38

Hello thank you for this! Though, do you know how to move the time indicator? I don't want it to stay at the bottom left corner if that is possible!

Ответить
Danh Nguyen
Danh Nguyen - 21.12.2022 21:43

Hello, I am unable to install the visualizer on my mac using terminal. This is what I typed in:

pip install sjvisualizer-0.0.2-py3-none-any.whl

Thanks!

Ответить
NA_at_worlds
NA_at_worlds - 21.11.2022 01:32

Hey, great tutorial, thank you. Quick question, is there any way to remove decimal points from the data? I'm working with data which contains only whole numbers and my visulisation is showing the data with 2 decimal points. I just wanted to know if there is a way to remove these.

Ответить
KetoPower Zone
KetoPower Zone - 05.11.2022 09:17

Bro.. I want to learn data science. Can u teach me??

Ответить
ITALIANO QUIZ
ITALIANO QUIZ - 04.11.2022 08:41

Thank you :-)

Ответить
Alt Af
Alt Af - 22.10.2022 18:21

Thanks for sharing. Can you please tell me that how can i make video from that animation using ffmpeg?

Ответить
Zecharia Paras
Zecharia Paras - 17.10.2022 16:23

Awesome tutorial video. Just wanted to ask one thing. When the graph gets to the end, the X-AXIS markers gets lost.

Ответить
राधे राधे
राधे राधे - 26.09.2022 07:32

Only first row output show in graph

Ответить
LuMoTo
LuMoTo - 04.09.2022 20:27

Thank you, Danke! I didnt think anyone would share how this works.

Ответить
Stats Hub
Stats Hub - 31.08.2022 13:20

Can i run in visual code studio ?

Ответить
Sixty seconds of
Sixty seconds of - 16.08.2022 20:03

How i change informations of xlsx?

Ответить
Aleksander Sosnowski
Aleksander Sosnowski - 16.08.2022 17:57

can i save my result as a video?

Ответить
Theodor Thisell
Theodor Thisell - 12.08.2022 01:09

Thank you very much for this! It would also help me tremendously if you could show how you add an animated map to the visualization.

Ответить
Hüseyin Albayrak
Hüseyin Albayrak - 10.08.2022 17:17

Thank you so much you are great!! Do you know how we can export as a video

Ответить
Nivek G
Nivek G - 04.08.2022 16:18

This is awesome, thank you so much for deciding to continue these tutorials.

Ответить
Aan famili
Aan famili - 25.07.2022 14:49

Can the data visualization channel be monetized

Ответить
Björn Heimdall
Björn Heimdall - 20.07.2022 16:32

Excellent work! Is there a way to save the output as video?

Ответить
Mustajab Ahmed
Mustajab Ahmed - 19.07.2022 19:13

Where do you get the data from?

Ответить
Alien Art Charts
Alien Art Charts - 14.07.2022 17:34

Nice tutorial, thank you!

Ответить
MurphyBob
MurphyBob - 14.07.2022 10:38

Currently trying it out and works perfectly with the nuclear excel file, but when I try to use my own data, i get some errors I'm not entirely sure how come.
essentially: traceback errors and a 'IndexError: index 0 is out of bounds for axis 0 with size 0'

Ответить
hamid reza mohamadi
hamid reza mohamadi - 13.07.2022 20:45

Thank you for sharing. it was so cool.

Ответить
Vrinda Sarraf
Vrinda Sarraf - 13.07.2022 16:45

Can someone help me download sjvisualizer

ERROR: Could not find a version that satisfies the requirement sjvisualizer (from versions: none)
ERROR: No matching distribution found for sjvisualizer

Ответить
Florin Dragusin
Florin Dragusin - 13.07.2022 14:54

Is this package working only under Windows? Trying to run it on Mac, and I get an error module ‘cytpes’ has no attribute ‘windll’.

Ответить
MurphyBob
MurphyBob - 13.07.2022 13:59

Oooh this is good!

Ответить