Horizontal Bar
The horizontal bar chart can display the category labels in a natural, easy-to-read manner. If the labels are long they will not overlap. The data can be plotted horizontally, meaning that the longer the bar the larger the category. This is a good way to present data with long labels that would be hard to display below a vertical bar.
The Method To Use
The method is s.plt.horizontal_bar()
It must contain the following input variables:
Accepts the following input variables as optional:
Examples
1. Default Configuration
2. Customization And Context
It is possible to personalize the title of the chart, its subtitle, name of each axis, the legend, its size and add padding. One example could be obtained using:
Variants
By setting the parameter variant
to the following values the appearance of the chart can be changed:
Featured Content
Changing the Menu Path
The menu_path
can be modified.
It is possible to use any number of rows.
Last updated