Skip to content
Advertisement

How to get the label values on a bar chat with seaborn on a categorical data

Shown below is the syntax used to get the bar char for a categorical data on seaborn

JavaScript

enter image description here

  1. How can I get the value count on the bar chart shown below. enter image description here

  2. How to get the percentage value on the bar chart shown below. enter image description here

Advertisement

Answer

Maybe this will work for you:

JavaScript

Results:

JavaScript

enter image description here

User contributions licensed under: CC BY-SA
1 People found this is helpful
Advertisement