Creating Data Visualizations Using Python
To Know
About this class
This one-hour online training demonstrates how to create data visualizations using Python. A code file and datasets will be provided for attendees. Attendees will briefly reconstruct a cleaned data pipeline and then use Python libraries to generate clear, informative, publication-quality figures for biomedical and clinical research.
Topics will include installing and importing Python visualization libraries, as well as creating visualizations from data. Attendees will generate the following graphs and learn how to improve the detailed features of each: dot/scatter plots with mean ± SD, box plots, violin plots, bar graphs with error bars, line graphs for longitudinal or repeated-measures data, Kaplan-Meier survival curves, power/sample-size plots, confidence interval and forest plots, correlation and regression plots, and heat maps.
The training will conclude with best practices for saving figures suitable for publication. Simulated data will be used for the longitudinal and time-to-event examples where needed.
By the end of this training, attendees will be able to:
-
Explain when and why to use common types of scientific visualizations
-
Install and import Python libraries used for scientific visualization
-
Write Python code to generate specified graph types
-
Customize and save high-quality figures suitable for publications and reports
Requirements
Attendees should be familiar with Python code as well as:
-
Python basics
-
Working in Jupyter notebooks or another Python IDE
-
Importing, cleaning, and restructuring data with pandas