Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Impara Swarmplot | Categorical Plot Types
Deep Dive into the seaborn Visualization
course content

Contenuti del Corso

Deep Dive into the seaborn Visualization

Deep Dive into the seaborn Visualization

1. Light Start
2. Distributions of Data
3. Categorical Plot Types
4. Matrix Plots
5. Multi-Plot Grids
6. Regression Models

book
Swarmplot

The swarmplot is similar to stripplot. Only the points are adjusted so they won't overlap, as it helps to represent the distribution of values better.

carousel-imgcarousel-imgcarousel-imgcarousel-imgcarousel-imgcarousel-imgcarousel-imgcarousel-imgcarousel-imgcarousel-imgcarousel-img
Compito

Swipe to start coding

  1. Set the 'whitegrid' style with the 'seashell' axes.facecolor.
  2. Create the swarmplot using the seaborn library:
  • x parameter equals the 'day';
  • Set the y parameter equals the 'total_bill';
  • Set the hue parameter equals the 'sex';
  • Set the linewidth parameter equals 1;
  • Set the size parameter equals 2;
  • Set the dodge parameter equals the True;
  • Set the 'rocket' palette.

Soluzione

Switch to desktopCambia al desktop per esercitarti nel mondo realeContinua da dove ti trovi utilizzando una delle opzioni seguenti
Tutto è chiaro?

Come possiamo migliorarlo?

Grazie per i tuoi commenti!

Sezione 3. Capitolo 2
toggle bottom row

book
Swarmplot

The swarmplot is similar to stripplot. Only the points are adjusted so they won't overlap, as it helps to represent the distribution of values better.

carousel-imgcarousel-imgcarousel-imgcarousel-imgcarousel-imgcarousel-imgcarousel-imgcarousel-imgcarousel-imgcarousel-imgcarousel-img
Compito

Swipe to start coding

  1. Set the 'whitegrid' style with the 'seashell' axes.facecolor.
  2. Create the swarmplot using the seaborn library:
  • x parameter equals the 'day';
  • Set the y parameter equals the 'total_bill';
  • Set the hue parameter equals the 'sex';
  • Set the linewidth parameter equals 1;
  • Set the size parameter equals 2;
  • Set the dodge parameter equals the True;
  • Set the 'rocket' palette.

Soluzione

Switch to desktopCambia al desktop per esercitarti nel mondo realeContinua da dove ti trovi utilizzando una delle opzioni seguenti
Tutto è chiaro?

Come possiamo migliorarlo?

Grazie per i tuoi commenti!

Sezione 3. Capitolo 2
Switch to desktopCambia al desktop per esercitarti nel mondo realeContinua da dove ti trovi utilizzando una delle opzioni seguenti
Siamo spiacenti che qualcosa sia andato storto. Cosa è successo?
some-alt