• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

Data Viz with Python and R

Learn to Make Plots in Python and R

  • Home
  • Seaborn
  • Matplotlib
  • ggplot2
  • Altair
  • About
    • Privacy Policy
  • Visualizing Activation Functions in Neural Networks
  • Confusion Matrix Calculator
  • Visualizing Dropout Rate in Neural Network
  • Visualizing Loss Functions in Neural Networks
  • Show Search
Hide Search

datavizpyr

How to Add Vertical Lines By a Variable in Multiple Density Plots with ggplot2

datavizpyr · April 10, 2020 ·

How To Add Vertical Lines Colored by Variable?

Adding vertical line or lines at mean or median of density plot can help us understand the trend in the data. When you make multiple density plots adding vertical mean/median line for each group in the same color as the density plot is of great help. In this post, we will see … [Read more...] about How to Add Vertical Lines By a Variable in Multiple Density Plots with ggplot2

Filed Under: Add Vertical Line in ggplot2, R Tagged With: ggplot2, R

How To Make Boxplots in base R?

datavizpyr · April 6, 2020 ·

Add Colors to boxplot in base R

In this post, we will learn how to make simple boxplots using base R function boxplot(). We will use mtcars dataset available readily in R to first make a simple boxplot using boxplot() function in base R. And then we will learn how to customize the boxplot with specifying x and … [Read more...] about How To Make Boxplots in base R?

Filed Under: base R Boxplot, R Tagged With: Boxplot, R

How to Make Countplot or barplot with Seaborn Catplot?

datavizpyr · April 3, 2020 ·

Grouped barplot with Seaborn Catplot

Sometimes you might want to make countplot or barplots in Python, but the data may not in the right format. For example, you might want to make countplot/barplot of the number of things corresponding to multiple categorical variables. However, the data may in the form such that … [Read more...] about How to Make Countplot or barplot with Seaborn Catplot?

Filed Under: Seaborn, Seaborn Countplot with Catplot Tagged With: barplot, Countplot, Python, Seaborn

How to Make Horizontal Boxplot with ggplot2 version 3.3.0?

datavizpyr · April 1, 2020 ·

ggplot2 v3.3.0: Horizontal Boxplots

Making a boxplot or barplot horizontally can be useful in a variety of scenarios. In ggplot2, till now the only way to make a plot horizontal is to use flip the axis using coord_flip(). With ggplot2 version 3.3.0, we can easily flip axis and make horizontal boxplot or horizontal … [Read more...] about How to Make Horizontal Boxplot with ggplot2 version 3.3.0?

Filed Under: ggplot2 v3.3.0, Horizontal boxplot, R Tagged With: ggplot2, R

How To Highlight a Time Range in Time Series Plot in Python with Matplotlib?

datavizpyr · March 30, 2020 ·

Highlight a Time Range Over Time Series Plot in Python

Time Series Plots are line plots with x-axis being date time instead of regular quantitative or ordered categorical variable. Sometimes you might want to highlight a region on a time series plot. In this post, we will learn how to highlight a time interval with a rectangular … [Read more...] about How To Highlight a Time Range in Time Series Plot in Python with Matplotlib?

Filed Under: highlight time range in timeseries plot, Python Tagged With: Matplotlib, Python

  • « Go to Previous Page
  • Page 1
  • Interim pages omitted …
  • Page 37
  • Page 38
  • Page 39
  • Page 40
  • Page 41
  • Interim pages omitted …
  • Page 55
  • Go to Next Page »

Primary Sidebar

Python & R Viz Hubs

  • Seaborn Guide & Cookbook
  • ggplot2 Guide & Cookbook
  • Matplotlib Guide & Cookbook
  • Confusion Matrix Calculator
  • Visualizing Activation Functions
  • Visualizing Dropout
  • Visualizing Loss Functions

Buy Me a Coffee

Copyright © 2026 · Daily Dish Pro on Genesis Framework · WordPress · Log in

Go to mobile version