© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2022
T. Barker, J. WestfallPro Data Visualization Using R and JavaScripthttps://doi.org/10.1007/978-1-4842-7202-2_7

7. Bar Charts

Tom Barker1   and Jon Westfall2
(1)
Pipersville, PA, USA
(2)
Cleveland, MS, USA
 

Chapter 6 explored using time series charts to look at defect data over time, and this chapter looks at bar charts, which display ordinal or ranked data relative to a specific data set. They usually consist of an x- and y-axis and have bars or colored rectangles to indicate values of categories.

William Playfair created the bar chart in the first edition of The Commercial and Political Atlas in 1786 to show Scotland’s import and export data to and from different ...

Get Pro Data Visualization Using R and JavaScript: Analyze and Visualize Key Data on the Web now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.