Author Archives

Yan Holtz

Hi! I am Yan Holtz, passionate about data analysis and data visualization. I create the R and the Python graph galleries and hope it helps you!
#160 Basic donut plot

#160 Basic donut plot

        Here is a basic donut (?doughnut) plot made using the matplotlib library. The trick here is to make a pieplot and add a white circle in the middle of it. Note that another option would be…
Read more
#122 Multiple lines chart

#122 Multiple lines chart

Graphics #120 and #121 show you how to create a basic line chart and how to apply basic customization. This posts explains how to make a line chart with several lines. Each line represents a set of values, for example…
Read more
#54 Grouped violinplot

#54 Grouped violinplot

          If you have one numerical variable, several groups, and subgroups, you probably need to make a grouped violinplot. Note that you can use faceting as well to solve this kind of dataset.      …
Read more
#91 Customize seaborn heatmap

#91 Customize seaborn heatmap

The graph #90 explains how to make a heatmap from 3 different input formats. In this post, I describe how to customize the appearance of these heatmaps. These 4 examples start by importing libraries and making a data frame:
Read more
#41 Control marker features

#41 Control marker features

Once you understood how to plot a basic scatterplot with seaborn, you probably want to custom the appearance of your markers. You can custom color, transparency, shape and size. Here is how to do it: Control shape List of available…
Read more
#34 Grouped Boxplot

#34 Grouped Boxplot

        Grouped boxplot are used when you have a numerical variable, several groups and subgroups. It is easy to realize one using seaborn.Y is your numerical variable, x is the group column, and hue is the subgroup…
Read more
#20 Basic histogram | Seaborn

#20 Basic histogram | Seaborn

With Seaborn, histograms are made using the distplot function. You can call the function with default values (left), what already gives a nice chart. Do not forget to play with the number of bins using the ‘bins’ argument. It is…
Read more