From the course: Data Visualization with Python in Excel
Unlock this course with a free trial
Join today to access over 24,700 courses taught by industry experts.
Challenge: Create and customize a seaborn visualization
From the course: Data Visualization with Python in Excel
Challenge: Create and customize a seaborn visualization
(upbeat music) - [Instructor] To close out this chapter, let's practice building a variety of plots in Seaborn, this time using the MPG dataset. Open Seaborn Challenge to get started. Your first visualization will be a scatter plot that shows the relationship between horsepower and MPG, or miles per gallon. Use different colors to distinguish the origin of the cars, which helps you instantly spot any patterns or differences among them. After creating this basic scatter plot, explore one of Seaborn's distribution plots, either a KDE plot or a violin plot, to see how MPG varies across origin. Next, create a pairplot to examine the pairwise relationships among numerical columns such as MPG, horsepower, displacement, and weight. By adding the parameter hue equals origin, you can uncover how these features behave across different car origins, all within a single grid of plots. Finally, build a joint plot to gain deeper insight into the relationship between two features of your choice, such…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.