Skip to main content
U.S. flag

An official website of the United States government

Here’s how you know

Dot gov

Official websites use .gov
A .gov website belongs to an official government organization in the United States.

HTTPS

Secure .gov websites use HTTPS
A lock ( Lock A locked padlock ) or https:// means you’ve safely connected to the .gov website. Share sensitive information only on official, secure websites.

  • Environmental Topics
  • Laws & Regulations
  • Report a Violation
  • About EPA
Risk Assessment
Contact Us

Data Visualization for Environmental Epidemiology with ggplot2: Mastering Presentation-Grade Figures

On this page:

  • Overview
Data visualization is critical to conveying new findings from research and is a vital part of advancing the field of epidemiology around the globe. There are a variety of options for creating figures with licensed software, but data visualization packages like ggplot2/R are easily accessible and economical alternatives that can produce high quality and journal-ready figures. The syntax of ggplot2 is challenging to learn, so this workshop aims to allow participants to become comfortable with the syntax of ggplot2, create elegant, complex figures, and be comfortable applying the skills learned to their own research projects. This workshop, led by a diverse, all-female panel of new researchers, will offer interactive examples using R statistical software. This session will begin with a brief introduction to the ggplot2 package and supporting packages. We will cover general practices for manipulating data structures and data formatting for creating ggplots. We will spend the majority of the workshop introducing examples of various plots that are frequently used in epidemiology, focusing on the following aspects: adding confidence intervals to point estimates; manipulating background, axes, titles, legends, colors, themes; creating maps; and saving and exporting high resolution figures.  We assume that participants will have some experience in statistical programming. No prior experience with ggplot is necessary, but this workshop is not meant to be an introduction to R. The views expressed in this workshop are those of the authors and do not necessarily reflect the views or policies of the USEPA. 

Impact/Purpose

There are a variety of options for creating figures with licensed software, but data visualization packages like ggplot2/R are easily accessible and economical alternatives that can produce high quality and journal-ready figures. This workshop aims to allow participants to become comfortable with the syntax of ggplot2, create elegant, complex figures, and be comfortable applying the skills learned to their own research projects.

Citation

Krajewski, A., A. Larsen, AND L. Wyatt. Data Visualization for Environmental Epidemiology with ggplot2: Mastering Presentation-Grade Figures. Society for Epidemiologic Research 2022, Chicago / Online, IL, June 14 - 17, 2022.
  • Risk Assessment Home
  • About Risk Assessment
  • Risk Recent Additions
  • Human Health Risk Assessment
  • Ecological Risk Assessment
  • Risk Advanced Search
    • Risk Publications
  • Risk Assessment Guidance
  • Risk Tools and Databases
  • Superfund Risk Assessment
  • Where you live
Contact Us to ask a question, provide feedback, or report a problem.
Last updated on October 01, 2025
United States Environmental Protection Agency

Discover.

  • Accessibility Statement
  • Budget & Performance
  • Contracting
  • EPA www Web Snapshots
  • Grants
  • No FEAR Act Data
  • Privacy
  • Privacy and Security Notice

Connect.

  • Data
  • Inspector General
  • Jobs
  • Newsroom
  • Open Government
  • Regulations.gov
  • Subscribe
  • USA.gov
  • White House

Ask.

  • Contact EPA
  • EPA Disclaimers
  • Hotlines
  • FOIA Requests
  • Frequent Questions

Follow.