Introduction to Data Visualization with Seaborn
Build scatter, line, bar, box and point plots in Python with Seaborn, add subplots and subgroups, and style charts with clear titles and labels.
Seaborn is a Python library, based on Matplotlib, for building informative charts from data with little code. The problem it tackles is seeing how variables relate and sharing that picture clearly with others. You plot real datasets on city air pollution, car fuel efficiency and survey answers, add a third variable through color, split one figure into several subplots, and let the library calculate confidence intervals for you.
What You Will Achieve
- Check whether a pandas DataFrame is tidy before handing it to Seaborn, then plot it as a scatter or count chart
- Pick a plot type that suits two quantitative variables or a category paired with a number, and build it with relplot() or catplot()
- Read line plots, box plots and confidence intervals to describe trends, spread and outliers in a dataset
- Present findings with clear titles, axis labels and a style and palette chosen for your audience
Program Overview
Seaborn Basics: Scatter Plots, Count Plots and Hue
Covers what Seaborn is for and how it plots lists and pandas DataFrames, then uses color to show subgroups.
- When to use Seaborn
- Scatter and count plots from lists and DataFrames
- Tidy versus untidy data
- Adding a third variable with hue
Relational and Categorical Plots
Plots two quantitative variables with scatter and line charts, then pairs a categorical variable with a quantitative one in bar, box, count and point plots.
- Subplots by column and row
- Scatter point size and style
- Line plots with standard deviation and subgroups
- Bar plots with percentages, box plot outliers and whiskers, point plots
Customizing Style, Palette and Titles
Focuses on making charts readable for an audience and ends with exercises that combine the earlier plot types.
- Plot style, color palettes and scale
- Titles and axis labels on FacetGrid and AxesSubplot objects
- Rotated x-tick labels
- Final box and bar plots with subgroups and subplots
Certificate Awarded (Paid)
Job Outlook
Charts like these are part of everyday work in data analysis and data science, and in any role where results from a dataset have to be explored and explained to colleagues.
Good for: Analysts and students who want to explore a dataset visually in Python and share readable charts of what they find.
Keep in mind: The plots center on relplot() and catplot(), and the finishing work on titles, axis labels and rotated tick marks is done with Matplotlib commands.
Bottom line: A practical route into Seaborn that works through real pollution, car and survey data and ends with charts you can label and style for others.
Frequently Asked Questions
What real-world data do the plots explore?
The exercises track how air pollution in a city changes over a day and how horsepower relates to fuel efficiency in cars. Survey data covers young people's interests, students' study habits and adult men's feelings about masculinity.
How does Seaborn relate to Matplotlib?
Seaborn is built on Matplotlib. The plots themselves come from Seaborn functions, while the closing chapter uses Matplotlib commands to add titles and axis labels to FacetGrid and AxesSubplot objects and to rotate tick labels.
What do the final exercises ask me to build?
The last lessons bring the earlier chapters together: you build a box plot with subgroups and a bar plot that combines subgroups with subplots, applying the styling and labeling covered just before.
Which kinds of plots will I make?
Scatter and line plots show how two quantitative variables relate and are built with relplot(). Count, bar, box and point plots pair a categorical variable with a quantitative one and are built with catplot(). Both kinds can be split into subplots by row and column.


There are no reviews yet.