Contenido del Curso
Deep Dive into the seaborn Visualization
Deep Dive into the seaborn Visualization
Violinplot
A violinplot
is a hybrid of a box plot and a kernel density plot, which shows peaks in the data. It is used to visualize the distribution of numerical data. Unlike a box plot that can only show summary statistics, violin plots depict summary statistics and the density of each variable.
Tarea
- Create a violinplot using the
g
variable:
- Set the
x
parameter equals the'day'
; - Set the
y
parameter equals the'total_bill'
; - Set the
hue
parameter equals'sex'
; - Set the
'rocket'
palette
; - Set the
split
parameter; - Set the
inner
parameter equals the'point'
; - Set the
bw
parameter equals the0.2
.
- Set the title for the plot:
'Tips violinplot'
.
¡Gracias por tus comentarios!
Violinplot
A violinplot
is a hybrid of a box plot and a kernel density plot, which shows peaks in the data. It is used to visualize the distribution of numerical data. Unlike a box plot that can only show summary statistics, violin plots depict summary statistics and the density of each variable.
Tarea
- Create a violinplot using the
g
variable:
- Set the
x
parameter equals the'day'
; - Set the
y
parameter equals the'total_bill'
; - Set the
hue
parameter equals'sex'
; - Set the
'rocket'
palette
; - Set the
split
parameter; - Set the
inner
parameter equals the'point'
; - Set the
bw
parameter equals the0.2
.
- Set the title for the plot:
'Tips violinplot'
.
¡Gracias por tus comentarios!
Violinplot
A violinplot
is a hybrid of a box plot and a kernel density plot, which shows peaks in the data. It is used to visualize the distribution of numerical data. Unlike a box plot that can only show summary statistics, violin plots depict summary statistics and the density of each variable.
Tarea
- Create a violinplot using the
g
variable:
- Set the
x
parameter equals the'day'
; - Set the
y
parameter equals the'total_bill'
; - Set the
hue
parameter equals'sex'
; - Set the
'rocket'
palette
; - Set the
split
parameter; - Set the
inner
parameter equals the'point'
; - Set the
bw
parameter equals the0.2
.
- Set the title for the plot:
'Tips violinplot'
.
¡Gracias por tus comentarios!
A violinplot
is a hybrid of a box plot and a kernel density plot, which shows peaks in the data. It is used to visualize the distribution of numerical data. Unlike a box plot that can only show summary statistics, violin plots depict summary statistics and the density of each variable.
Tarea
- Create a violinplot using the
g
variable:
- Set the
x
parameter equals the'day'
; - Set the
y
parameter equals the'total_bill'
; - Set the
hue
parameter equals'sex'
; - Set the
'rocket'
palette
; - Set the
split
parameter; - Set the
inner
parameter equals the'point'
; - Set the
bw
parameter equals the0.2
.
- Set the title for the plot:
'Tips violinplot'
.