Skip to main content

Visualization

  • Chapter
  • First Online:
CRAN Recipes
  • 559 Accesses

Abstract

Most of these examples use the R workhorse, ggplot2. The ggplot2 package has had many spin-offs and is a gold mine of logically structured visualizations. The following sections are a smorgasbord of visualizations from ggplot2 and other packages. ggplot2 gets loaded automatically with the library(tidyverse) command.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

eBook
USD 16.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 69.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    Nathan Yau, “FlowingData,” FlowingData, accessed on January 31, 2021, https://flowingdata.com/.

  2. 2.

    “Divergent Bars in Ggplot2,” Once Upon Data, accessed on January 25, 2021, https://onceupondata.com/2019/01/25/ggplot2-divergent-bars/.

  3. 3.

    https://cran.r-project.org/web/packages/inspectdf/inspectdf.pdf. Accessed on January 25, 2021.

  4. 4.

    Yan Holtz, “Bubble Plot with Ggplot2,” accessed on January 30, 2021, www.r-graph-gallery.com/320-the-basis-of-bubble-plot.html.

  5. 5.

    Nathan Yau, “FlowingData,” FlowingData, accessed on January 25, 2021, https://flowingdata.com/.

  6. 6.

    “The Ggthemr Package – Theme and Colour Your Ggplot Figures | Shane Lynn,” accessed on January 26, 2021, www.shanelynn.ie/themes-and-colours-for-r-ggplots-with-ggthemr/.

  7. 7.

    “Airplane Crashes – Dataset by Data-Society,” data.world, accessed on January 30, 2021, https://data.world/data-society/airplane-crashes.

  8. 8.

    https://cran.r-project.org/web/packages/textplot/textplot.pdf. Accessed on January 25, 2021.

  9. 9.

    “Survival Analysis Basics – Easy Guides – Wiki – STHDA,” accessed on January 26, 2021, www.sthda.com/english/wiki/survival-analysis-basics.

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2021 The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

Cite this chapter

Yarberry, W. (2021). Visualization. In: CRAN Recipes. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-6876-6_16

Download citation

Publish with us

Policies and ethics