• 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

R

How to add color to axis tick labels: Hint – element_markdown() in ggtext

datavizpyr · August 26, 2022 ·

How to add matching colors to axis tick labels

In this tutorial, we will learn about a nice ggplot2 trick/tip that enables colored text on axis tick labels. Thanks to new theme element element_markdown() in ggtext, R package developed by Claus Wilke, we can add colors to axis text labels. To get started, let us load the … [Read more...] about How to add color to axis tick labels: Hint – element_markdown() in ggtext

Filed Under: ggplot2, ggtext, R Tagged With: add color to axis text label ggplot2, ggtext element_markdown()

Correlation Heatmap wiht Corrr

datavizpyr · August 21, 2022 ·

Correlation Heatmap with Correlation Annotated

In this post, we will learn how to make a simle correlation heatmap of numerical variables in a dataframe using Corrr R package. The R package Corrr starting from version 0.4.4 has a autoplot() function enables you to make simple correllation heatmap in addition to correlation … [Read more...] about Correlation Heatmap wiht Corrr

Filed Under: ggplot2, R Tagged With: Correlation Heatmap with Corrr, Corrr autoplot()

How to wrap really long facet label in R

datavizpyr · August 19, 2022 ·

How to wrap long facet labels: Hint use labeller

In this tutorial, we will learn how to wrap a really long labels in a facet plot made with ggplot2 using facet_wrap(). When the facet labels are too long, the label text gets cuts off. Here we will learn how can we fold or wrap the long facet labels into multiple lines so that … [Read more...] about How to wrap really long facet label in R

Filed Under: ggplot2, R Tagged With: labeller to wrap long facet label, wrap a long facet label

How to make stacked barplot with percent on x/y axis

datavizpyr · August 19, 2022 ·

Stacked bar plot with percentage on y-axis

In this post we will see how to make a stacked barplot showing percentage on its axis instead of count or proportion. We can make stacked barplot with count or proportion directly using geom_bar() function in ggplot2. Then we will use scales R package to add percentage on the … [Read more...] about How to make stacked barplot with percent on x/y axis

Filed Under: ggplot2, R Tagged With: add percentage with scales, stacked barplot with percentage

Visualizing Correlation with tidymodels’ corrr package

datavizpyr · August 18, 2022 ·

Correlation Network plot with corrr package

In this tutorial, we will learn examples of computing correlations among all the numerical variables in a dataframe and visualize the correlation in multiple ways. We will use Corrr package from tidymodels to compute the correlation and visualize the correlation. corrr is … [Read more...] about Visualizing Correlation with tidymodels’ corrr package

Filed Under: ggplot2, R Tagged With: Correlation as network plot, correlation plot with corrr, corrr package

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