geom_bar {ggplot.layers} .NET clr documentation

geom_bar

Description

A bar plot, also known as a bar chart or bar graph, is a type of data visualization that presents categorical data with rectangular bars with heights or lengths proportional to the values that they represent. Bar plots are one of the most common types of charts and are used in a wide variety of fields for their simplicity and effectiveness in conveying information.

Here are the main components and characteristics of a bar plot:

Components:

  1. Axes: The horizontal axis (x-axis) and the vertical axis (y-axis) define the scales for the categories and the values, respectively.

  2. Bars: The bars are the rectangular elements of the plot. Each bar represents a category, and its length or height corresponds to the value of that category.

  3. Labels: The categories are usually labeled on the x-axis, and the y-axis is often labeled with the type of value being represented (e.g., frequency, count, percentage).

  4. Title: The plot may have a title that describes the data being presented.

Types of Bar Plots:

When to Use Bar Plots:

Advantages:

Disadvantages:

Declare

            
# namespace ggplot.layers
export class geom_bar extends ggplotGroup {
   alpha: double;
   colorMap: ggplotColorMap;
   dataset: any kind;
   groupWidth: double;
   position: string;
   reader: ggplotReader;
   showLegend: boolean;
   # the bar height evaluation method, value could be
   # 
   # 
   # 
    #
  1. identity
  2. #
  3. percentage
  4. #
stat: string; which: Expression; zindex: integer; }

.NET clr type reference tree

  1. this class extends from ggplotGroup class: ggplotGroup
  2. use by property member colorMap: ggplotColorMap
  3. use by property member dataset: any kind
  4. use by property member reader: ggplotReader
  5. use by property member which: Expression

[Package {$package} version {$version} Index]