Data Visualization with Matplotlib and Seaborn
Chapter 1: Introduction to Data Visualization
What is Data Visualization?
Why Visualize Data in AI and Engineering?
Introduction to Matplotlib
Relationship between Matplotlib and Seaborn
Setting Up Your Python Environment
Chapter 2: Fundamentals of Matplotlib Plotting
Anatomy of a Matplotlib Plot: Figure and Axes
Creating a Basic Plotting Script
Line Plots: Plotting Trends
Scatter Plots: Showing Relationships
Changing Colors and Line Styles
Practice: Creating Simple Line and Scatter Plots
Chapter 3: Basic Matplotlib Plot Types
Bar Charts for Comparisons
Creating Vertical and Horizontal Bar Charts
Histograms for Distributions
Understanding Bins in Histograms
Pie Charts for Proportions
Hands-on Practical: Plotting Different Data Types
Chapter 4: Introduction to Seaborn for Enhanced Visuals
Seaborn's Role: High-Level Interface
Setting Seaborn Styles and Contexts
Creating Scatter Plots with Seaborn (scatterplot)
Creating Line Plots with Seaborn (lineplot)
Understanding Seaborn's Data Input Requirements
Practice: Recreating Plots with Seaborn
Chapter 5: Visualizing Data Distributions with Seaborn
Histograms and Kernel Density Estimates (histplot, kdeplot)
Visualizing Joint Distributions (jointplot)
Box Plots for Summary Statistics (boxplot)
Violin Plots: Combining Box Plots and KDE (violinplot)
Understanding Distribution Plot Choices
Hands-on Practical: Plotting Distributions
Chapter 6: Plotting Categorical Data using Seaborn
Understanding Categorical Data
Bar Plots for Aggregate Statistics (barplot)
Count Plots for Frequencies (countplot)
Box Plots for Categorical Variables (boxplot)
Strip Plots and Swarm Plots for Individual Points (stripplot, swarmplot)
Point Plots for Trends (pointplot)
Hands-on Practical: Visualizing Categorical Features
Chapter 7: Customizing and Saving Visualizations
Adding Text and Annotations to Plots
Adjusting Figure Size and Layout
Using Matplotlib Object-Oriented API for Finer Control
Saving Plots to Files (PNG, JPG, PDF, SVG)
Choosing the Right File Format
Practice: Polishing Your Plots
Chapter 8: Plotting with Pandas DataFrames
Brief Introduction to Pandas Series and DataFrames
Loading Data into a DataFrame
Basic Plotting Directly from DataFrames
Using Matplotlib with DataFrame Columns
Using Seaborn with DataFrames
Filtering and Preparing Data for Plotting
Hands-on Practical: Visualizing Data from a File