6 - Data Visualization with Matplotlib and Intro to Pandas — Topics & Learning Outcomes

📋 Module Topics🎯 Student Learning Outcomes

Module Topics

Introduction to Matplotlib and the pyplot Interface

Introduces the matplotlib library and its pyplot module, explaining how the interface manages the figure and axes objects that underlie every plot.

Line Plots and Scatter Plots

Covers the creation and customization of line plots and scatter plots, the two most common chart types for visualizing continuous and relational engineering data.

Bar Charts and Histograms

Explains how to create bar charts for categorical comparisons and histograms for examining the distribution of numerical data in engineering contexts.

Subplots and Figure Layout

Demonstrates how to create multi-panel figures using subplots, enabling side-by-side comparison of different plots within a single publication-ready figure.

Publication-Quality Figure Styling

Covers techniques for elevating plot aesthetics to meet publication and report standards, including style sheets, custom colors, annotations, and saving high-resolution outputs.

Introduction to Pandas: Series and DataFrames

Introduces the pandas library and its two primary data structures — Series and DataFrame — which form the foundation for data manipulation and analysis in Python.

Reading, Filtering, and Sorting Data with Pandas

Demonstrates how to load datasets from files and then select, filter, and sort rows and columns to extract meaningful subsets for engineering analysis.

Descriptive Statistics with Pandas

Covers pandas methods for computing summary statistics, aggregating grouped data, and identifying missing values in engineering datasets.

Student Learning Outcomes

By the end of this module, students will be able to:

MO1
Construct line plots, scatter plots, bar charts, and histograms using Matplotlib's pyplot interface with appropriate axis labels, titles, and customization parameters
Level: ApplyType: CognitiveCourse mapping: CO3
MO2
Compose multi-panel publication-quality figures using plt.subplots() and GridSpec with correctly adjusted layout, styling, and high-resolution export settings
Level: CreateType: CognitiveCourse mapping: CO3
MO3
Load a CSV dataset into a Pandas DataFrame and apply column selection, Boolean row filtering, and sorting operations to extract targeted subsets of engineering data
Level: ApplyType: CognitiveCourse mapping: CO1
MO4
Compute descriptive statistics and grouped aggregations on a Pandas DataFrame using describe() and groupby() to summarize engineering dataset characteristics
Level: AnalyzeType: CognitiveCourse mapping: CO3
MO5
Evaluate the distribution and relationships within an engineering dataset by interpreting histograms, correlation values, and grouped summary statistics generated with Matplotlib and Pandas
Level: EvaluateType: CognitiveCourse mapping: CO3

Course Outcomes (reference)

CO1Use variables, arrays and object structures appropriate to solve engineering problems.
CO2Write computer functions to meet specific calculation needs.
CO3Write computer programs to solve mathematical expressions and engineering problems