Difference between revisions of "Display of Numerical Data"

From Department of Mathematics at UTSA
Jump to navigation Jump to search
(Created page with "https://en.wikipedia.org/wiki/List_of_graphical_methods https://en.wikipedia.org/wiki/Statistical_graphics")
 
Line 1: Line 1:
https://en.wikipedia.org/wiki/List_of_graphical_methods
+
[[File:Human losses of world war two by country.png|thumb|upright=1.4|Example of a grouped (clustered) bar chart, one with horizontal bars.]]
 +
A '''bar chart''' or '''bar graph''' is a chart or graph that presents categorical data with rectangular bars with heights or lengths proportional to the values that they represent. The bars can be plotted vertically or horizontally.  A vertical bar chart is sometimes called a '''column chart'''.
  
https://en.wikipedia.org/wiki/Statistical_graphics
+
== Usage ==
 +
 
 +
Bar graphs/charts provide a visual presentation of categorical data. Categorical data is a grouping of data into discrete groups, such as months of the year, age group, shoe sizes, and animals. These categories are usually qualitative. In a column (vertical) bar chart, categories appear along the horizontal axis and the height of the bar corresponds to the value of each category.
 +
 
 +
Bar charts have a discrete domain of categories, and are usually scaled so that all the data can fit on the chart. When there is no natural ordering of the categories being compared, bars on the chart may be arranged in any order. Bar charts arranged from highest to lowest incidence are called Pareto charts.
 +
 
 +
===Grouped (clustered) and stacked===
 +
Bar graphs can also be used for more complex comparisons of data with grouped (or "clustered") bar charts, and stacked bar charts.
 +
 
 +
In '''grouped (clustered) bar charts''', for each categorical group there are two or more bars color-coded to represent a particular grouping. For example, a business owner with two stores might make a grouped bar chart with different colored bars to represent each store: the horizontal axis would show the months of the year and the vertical axis would show revenue.
 +
 
 +
Alternatively, a '''stacked bar chart''' stacks bars on top of each other so that the height of the resulting stack shows the combined result. Stacked bar charts are not suited to data sets having both positive and negative values.
 +
 
 +
Grouped bar charts usually present the information in the same order in each grouping. Stacked bar charts present the information in the same sequence on each bar.
 +
 
 +
<gallery widths="150">
 +
File:20210413 Carbon capture and storage - CCS - proposed vs implemented.svg  |A vertical stacked bar chart with positive values
 +
File:20210331 Global tree cover loss - World Resources Institute.svg |A vertical stacked bar chart with negative values
 +
File:2010 homicide rates - gun PLUS non-gun - high-income countries.png |A horizontal stacked bar chart
 +
File:Personal pronouns2.jpg | A vertical, grouped (clustered) 3D bar chart
 +
</gallery>
 +
 
 +
== Licensing ==
 +
Content obtained and/or adapted from:
 +
* [https://en.wikipedia.org/wiki/Bar_chart Bar chart, Wikipedia] under a CC BY-SA license

Revision as of 00:04, 18 December 2021

Example of a grouped (clustered) bar chart, one with horizontal bars.

A bar chart or bar graph is a chart or graph that presents categorical data with rectangular bars with heights or lengths proportional to the values that they represent. The bars can be plotted vertically or horizontally. A vertical bar chart is sometimes called a column chart.

Usage

Bar graphs/charts provide a visual presentation of categorical data. Categorical data is a grouping of data into discrete groups, such as months of the year, age group, shoe sizes, and animals. These categories are usually qualitative. In a column (vertical) bar chart, categories appear along the horizontal axis and the height of the bar corresponds to the value of each category.

Bar charts have a discrete domain of categories, and are usually scaled so that all the data can fit on the chart. When there is no natural ordering of the categories being compared, bars on the chart may be arranged in any order. Bar charts arranged from highest to lowest incidence are called Pareto charts.

Grouped (clustered) and stacked

Bar graphs can also be used for more complex comparisons of data with grouped (or "clustered") bar charts, and stacked bar charts.

In grouped (clustered) bar charts, for each categorical group there are two or more bars color-coded to represent a particular grouping. For example, a business owner with two stores might make a grouped bar chart with different colored bars to represent each store: the horizontal axis would show the months of the year and the vertical axis would show revenue.

Alternatively, a stacked bar chart stacks bars on top of each other so that the height of the resulting stack shows the combined result. Stacked bar charts are not suited to data sets having both positive and negative values.

Grouped bar charts usually present the information in the same order in each grouping. Stacked bar charts present the information in the same sequence on each bar.

Licensing

Content obtained and/or adapted from: