Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Bar chart

From Wikipedia, the free encyclopedia
Type of chart
"Bargraph" redirects here. For electronic bargraph displays, seeLM3914.
Example of a grouped (clustered) bar chart, one with horizontal bars

Abar chart orbar graph is a chart or graph that presentscategorical data with rectangular bars withheights orlengths proportional to the values that they represent. The bars can be plotted vertically or horizontally. A vertical bar chart is sometimes called acolumn chart and has been identified as the prototype of charts.[1]

A bar graph shows comparisons amongdiscretecategories. One axis of the chart shows the specific categories being compared, and the other axis represents a measured value. Some bar graphs present bars clustered or stacked in groups of more than one, showing the values of more than one measured variable.

History

[edit]

Many sources considerWilliam Playfair (1759–1824) to have invented the bar chart and theExports and Imports of Scotland to and from different parts for one Year from Christmas 1780 to Christmas 1781 graph from hisThe Commercial and Political Atlas to be the first bar chart in history. Diagrams of the velocity of a constantly accelerating object against time published inThe Latitude of Forms (attributed to Jacobus de Sancto Martino or, perhaps, toNicole Oresme)[2] about 300 years before can be interpreted as "proto bar charts".[3][4]

Usage

[edit]
A vertical stacked bar chart with negative values
A stacked bar chart with bars ascending or descending from values other than zero
A horizontal stacked bar chart
A vertical, grouped (clustered)3D bar chart

Bar graphs/charts provide a visual presentation of categorical data.[5] 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

[edit]

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

Ingrouped (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.

Six representations, based on bars, of the relationship between survivorship and class on the RMSTitanic.

Alternatively,Stacked bar charts (also known asComposite bar charts) stack bars on top of each other so that the height of the resulting stack shows the combined result. Unlike a grouped bar chart where each factor is displayed next to another, each with their own bar, the stacked bar chart displays multiple data points stacked in a single row or column. This may, for instance, take the form of uniform height bars charting atime series with internal stacked colours indicating the percentage participation of a sub-type of data. Another example would be a time series displaying total numbers, with internal colors indicating participation in the total by sub-types. 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.

Variable-width (variwide)

[edit]
Example: Variable-width bar chart relating:
* countries' respective populations (alongx axis),
* per-person CO2 emissions 1990–2018 (alongy axis), and
* total emissions for that country (rectangle area = productx*y of sides' lengths)

Variable-width bar charts, sometimes abbreviatedvariwide (bar) charts, are bar charts having bars with non-uniform widths. Generally:

  • Bars represent quantities with respective rectangles of areasA that are respectivearithmetic products of related pairs of
    • vertical-axis quantities (A/X) and
    • horizontal-axis quantities (X).
  • Arithmetically, the area of each bar (rectangle) is determined a product of sides' lengths:
(A/X)*X = Area A for each bar

Roles of the vertical and horizontal axes may be reversed, depending on the desired application.

Examples of variable-width bar charts are shown atWikimedia Commons.

See also

[edit]

References

[edit]
  1. ^Reimann, D.; Struwe, M.; Ram, N.; Gaschler, R. (2022)."Typicality effect in data graphs".Visual Communication.24:114–128.doi:10.1177/14703572221130445.
  2. ^Clagett, Marshall (1968),Nicole Oresme and the Medieval Geometry of Qualities and Motions, Madison: Univ. of Wisconsin Press, pp. 85–99,ISBN 0-299-04880-2
  3. ^Beniger, James R.; Robyn, Dorothy L. (1978), "Quantitative Graphics in Statistics: A Brief History",The American Statistician,32 (1), Taylor & Francis, Ltd.:1–11,doi:10.1080/00031305.1978.10479235,JSTOR 2683467
  4. ^Der, Geoff; Everitt, Brian S. (2014).A Handbook of Statistical Graphics Using SAS ODS. Chapman and Hall - CRC.ISBN 978-1-584-88784-3.
  5. ^abKelley, W. M.; Donnelly, R. A. (2009)The Humongous Book of Statistics Problems. New York, NY: Alpha BooksISBN 1592578659

External links

[edit]
Wikimedia Commons has media related toBar charts.
Continuous data
Center
Dispersion
Shape
Count data
Summary tables
Dependence
Graphics
Study design
Survey methodology
Controlled experiments
Adaptive designs
Observational studies
Statistical theory
Frequentist inference
Point estimation
Interval estimation
Testing hypotheses
Parametric tests
Specific tests
Goodness of fit
Rank statistics
Bayesian inference
Correlation
Regression analysis
Linear regression
Non-standard predictors
Generalized linear model
Partition of variance
Categorical
Multivariate
Time-series
General
Specific tests
Time domain
Frequency domain
Survival
Survival function
Hazard function
Test
Biostatistics
Engineering statistics
Social statistics
Spatial statistics
Retrieved from "https://en.wikipedia.org/w/index.php?title=Bar_chart&oldid=1337469937"
Category:
Hidden categories:

[8]ページ先頭

©2009-2026 Movatter.jp