Course Content
Deep Dive into the seaborn Visualization
Deep Dive into the seaborn Visualization
Stripplot
In statistics, a categorical variable is a variable that can take on one of a limited and usually fixed number of possible values, assigning each individual or other unit of observation to a particular group or nominal category on the basis of some qualitative property.
A stripplot
is a single-axis scatter plot that is used to visualize the distribution of many individual one-dimensional values. The values are plotted as dots along one unique axis, and the dots with the same value can overlap.
![carousel-img](https://codefinity-content-media.s3.eu-west-1.amazonaws.com/66ba0c8e-8422-413c-b7e1-74bd24c61656.upd/stripplot+gifs/1.gif?w=3840&q=75)
![carousel-img](https://codefinity-content-media.s3.eu-west-1.amazonaws.com/66ba0c8e-8422-413c-b7e1-74bd24c61656.upd/stripplot+gifs/2.gif?w=3840&q=75)
![carousel-img](https://codefinity-content-media.s3.eu-west-1.amazonaws.com/66ba0c8e-8422-413c-b7e1-74bd24c61656.upd/stripplot+gifs/3.gif?w=3840&q=75)
![carousel-img](https://codefinity-content-media.s3.eu-west-1.amazonaws.com/66ba0c8e-8422-413c-b7e1-74bd24c61656.upd/stripplot+gifs/4.gif?w=3840&q=75)
![carousel-img](https://codefinity-content-media.s3.eu-west-1.amazonaws.com/66ba0c8e-8422-413c-b7e1-74bd24c61656.upd/stripplot+gifs/5.gif?w=3840&q=75)
![carousel-img](https://codefinity-content-media.s3.eu-west-1.amazonaws.com/66ba0c8e-8422-413c-b7e1-74bd24c61656.upd/stripplot+gifs/6.gif?w=3840&q=75)
![carousel-img](https://codefinity-content-media.s3.eu-west-1.amazonaws.com/66ba0c8e-8422-413c-b7e1-74bd24c61656.upd/stripplot+gifs/7.gif?w=3840&q=75)
![carousel-img](https://codefinity-content-media.s3.eu-west-1.amazonaws.com/66ba0c8e-8422-413c-b7e1-74bd24c61656.upd/stripplot+gifs/8.gif?w=3840&q=75)
![carousel-img](https://codefinity-content-media.s3.eu-west-1.amazonaws.com/66ba0c8e-8422-413c-b7e1-74bd24c61656.upd/stripplot+gifs/9.gif?w=3840&q=75)
![carousel-img](https://codefinity-content-media.s3.eu-west-1.amazonaws.com/66ba0c8e-8422-413c-b7e1-74bd24c61656.upd/stripplot+gifs/10.gif?w=3840&q=75)
![carousel-img](https://codefinity-content-media.s3.eu-west-1.amazonaws.com/66ba0c8e-8422-413c-b7e1-74bd24c61656.upd/stripplot+gifs/11.gif?w=3840&q=75)
Swipe to begin your solution
- Set the
'whitegrid'
style with the'aliceblue'
axes.facecolor
. - Create the
stripplot
using theseaborn
library:
- Set the
x
parameter equals the'day'
; - Set the
y
parameter equals the'total_bill'
; - Set the
hue
parameter equals the'smoker'
; - Set the
size
parameter equals20
; - Set the
'crest'
palette; - Set the
'D'
marker; - Set the
alpha
parameter equals0.25
.
Solution
Thanks for your feedback!
Stripplot
In statistics, a categorical variable is a variable that can take on one of a limited and usually fixed number of possible values, assigning each individual or other unit of observation to a particular group or nominal category on the basis of some qualitative property.
A stripplot
is a single-axis scatter plot that is used to visualize the distribution of many individual one-dimensional values. The values are plotted as dots along one unique axis, and the dots with the same value can overlap.
![carousel-img](https://codefinity-content-media.s3.eu-west-1.amazonaws.com/66ba0c8e-8422-413c-b7e1-74bd24c61656.upd/stripplot+gifs/1.gif?w=3840&q=75)
![carousel-img](https://codefinity-content-media.s3.eu-west-1.amazonaws.com/66ba0c8e-8422-413c-b7e1-74bd24c61656.upd/stripplot+gifs/2.gif?w=3840&q=75)
![carousel-img](https://codefinity-content-media.s3.eu-west-1.amazonaws.com/66ba0c8e-8422-413c-b7e1-74bd24c61656.upd/stripplot+gifs/3.gif?w=3840&q=75)
![carousel-img](https://codefinity-content-media.s3.eu-west-1.amazonaws.com/66ba0c8e-8422-413c-b7e1-74bd24c61656.upd/stripplot+gifs/4.gif?w=3840&q=75)
![carousel-img](https://codefinity-content-media.s3.eu-west-1.amazonaws.com/66ba0c8e-8422-413c-b7e1-74bd24c61656.upd/stripplot+gifs/5.gif?w=3840&q=75)
![carousel-img](https://codefinity-content-media.s3.eu-west-1.amazonaws.com/66ba0c8e-8422-413c-b7e1-74bd24c61656.upd/stripplot+gifs/6.gif?w=3840&q=75)
![carousel-img](https://codefinity-content-media.s3.eu-west-1.amazonaws.com/66ba0c8e-8422-413c-b7e1-74bd24c61656.upd/stripplot+gifs/7.gif?w=3840&q=75)
![carousel-img](https://codefinity-content-media.s3.eu-west-1.amazonaws.com/66ba0c8e-8422-413c-b7e1-74bd24c61656.upd/stripplot+gifs/8.gif?w=3840&q=75)
![carousel-img](https://codefinity-content-media.s3.eu-west-1.amazonaws.com/66ba0c8e-8422-413c-b7e1-74bd24c61656.upd/stripplot+gifs/9.gif?w=3840&q=75)
![carousel-img](https://codefinity-content-media.s3.eu-west-1.amazonaws.com/66ba0c8e-8422-413c-b7e1-74bd24c61656.upd/stripplot+gifs/10.gif?w=3840&q=75)
![carousel-img](https://codefinity-content-media.s3.eu-west-1.amazonaws.com/66ba0c8e-8422-413c-b7e1-74bd24c61656.upd/stripplot+gifs/11.gif?w=3840&q=75)
Swipe to begin your solution
- Set the
'whitegrid'
style with the'aliceblue'
axes.facecolor
. - Create the
stripplot
using theseaborn
library:
- Set the
x
parameter equals the'day'
; - Set the
y
parameter equals the'total_bill'
; - Set the
hue
parameter equals the'smoker'
; - Set the
size
parameter equals20
; - Set the
'crest'
palette; - Set the
'D'
marker; - Set the
alpha
parameter equals0.25
.
Solution
Thanks for your feedback!