• 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

ggplot2

How to encircle a set of points in R with ggplot2

datavizpyr · December 21, 2022 ·

how to encircle select. points using ggalt's geom_circle()

Encircle Data Points in R with geom_encircle() When working with scatter plots in R, it is often helpful to highlight or emphasize groups of data points. The ggalt package provides an elegant solution through the geom_encircle() function. This function automatically draws … [Read more...] about How to encircle a set of points in R with ggplot2

Filed Under: ggplot2, R Tagged With: ggalt geom_encircle(), ggplot2 extension ggalt

How to Wrap Long Titles in ggplot2 (5 Methods with Examples)

datavizpyr · December 13, 2022 ·

How to wrap a long ggplot title into multiple lines. using ggtext package

Why Long Titles Get Cut Off in ggplot2 When working with ggplot2 in R, long titles often get truncated or extend beyond the plot area, making your visualization look unpolished. Fortunately, there are multiple ways to break or wrap a long title into multiple lines. In … [Read more...] about How to Wrap Long Titles in ggplot2 (5 Methods with Examples)

Filed Under: ggplot2, R Tagged With: wrap ggplot2 title

How to write a function make histograms with ggplot

datavizpyr · November 25, 2022 ·

Customising Histogram plotting function

In this tutorial, we will learn how to write a function to make a histograms using ggplot2 in R. Writing a function to create plots is useful, when you make a lot of plots, in this example, a lot of histograms. Thanks to the upcoming 2nd edition of R for Data Science by … [Read more...] about How to write a function make histograms with ggplot

Filed Under: ggplot2, R, Uncategorized Tagged With: plot function ggplot2

Remove or Hide Legends in ggplot2 – Theme, Guides, Scales & Tips

datavizpyr · October 29, 2022 ·

Selectively Remove Color Legend with guides()

Legends in ggplot2 are powerful but can sometimes clutter your visualization. In this tutorial using ggplot2 in R, we’ll walk step by step through methods to hide all legends, remove specific ones like color or shape, control them at the layer level, and even tidy them with scale … [Read more...] about Remove or Hide Legends in ggplot2 – Theme, Guides, Scales & Tips

Filed Under: ggplot2 Tagged With: selectively remove legends in ggplot2

How to Visualize Missing Values in a dataframe as heatmap

datavizpyr · October 18, 2022 ·

Visualizing Data with missing data as heatmap

In this post, we will learn how to visualize a dataframe with missing values represented as NAs as a heatmap. A quick visualization of missing values in the data is useful in analyzing the data. We will use mainly tidyverse approach, first to create a toy dataframe with missing … [Read more...] about How to Visualize Missing Values in a dataframe as heatmap

Filed Under: ggplot2, R Tagged With: visualizing data with NAs as heatmap

  • « Go to Previous Page
  • Page 1
  • Interim pages omitted …
  • Page 7
  • Page 8
  • Page 9
  • Page 10
  • Page 11
  • Interim pages omitted …
  • Page 28
  • 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