• 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
  • Python Viz
  • Seaborn
  • Altair
  • R Viz
  • ggplot2
  • About
    • Privacy Policy
  • Show Search
Hide Search

Histogram Tutorial with Seaborn Grammar of Graphics API

datavizpyr · October 14, 2022 ·

Seaborn Histogram with facet using Grammar of Graphics API

Seaborn, one of the Python data visualisation libraries had a huge update with Seaborn version 0.12.0 in September 2022. A really exciting development is new API for grammar of graphics like ggplot2. The introduction of seaborn.objects interface is the new API Taking … [Read more...] about Histogram Tutorial with Seaborn Grammar of Graphics API

Filed Under: Python, Seaborn, Seaborn objects Tagged With: Histogram with Seaborn objects

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

  • « Go to Previous Page
  • Page 1
  • Interim pages omitted …
  • Page 8
  • Page 9
  • Page 10
  • Page 11
  • Page 12
  • Interim pages omitted …
  • Page 54
  • Go to Next Page »

Primary Sidebar

Tags

Altair barplot Boxplot boxplot python boxplot with jiitered text labels Bubble Plot Color Palette Countplot Density Plot Facet Plot gganimate ggplot2 ggplot2 Boxplot ggplot2 error ggplot boxplot ggridges ggtext element_markdown() Grouped Barplot R heatmap heatmaps Histogram Histograms Horizontal boxplot Python lollipop plot Maps Matplotlib Pandas patchwork pheatmap Pyhon Python R RColorBrewer reorder boxplot ggplot Ridgeline plot Scatter Plot Scatter Plot Altair Seaborn Seaborn Boxplot Stock Price Over Time Stripplot UpSetR Violinplot Violin Plot World Map ggplot2

Buy Me a Coffee

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

Go to mobile version