• 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

How to change axis tick label size in ggplot2

datavizpyr · September 21, 2024 ·

Changing axis tick label size (both x & y) in ggplot2 with theme() and element_text()

In this post we will learn how to change axis tick label size in ggplot2 with multiple example. When we make a plot with ggplot2, plots have axis ticks- small vertical bars on both x and y axis, and tick labels - right below the ticks. We can change the size of axis tick … [Read more...] about How to change axis tick label size in ggplot2

Filed Under: ggplot2, ggplot2 element_text(), R Tagged With: change axis tick label size ggplot2

How to make rolling mean line plot of stock data

datavizpyr · September 16, 2024 ·

Time Series Line Plot with Stock Data

In this post we will learn how to make a moving average line plot of stock data, a great example of time series data. rolling_mean() function in zoo package can compute moving average of data of interest over a window size. For example, if we want to compute 7-day moving average, … [Read more...] about How to make rolling mean line plot of stock data

Filed Under: ggplot2, R Tagged With: moving average time series plot

How to add P-value to each facet in ggplot2

datavizpyr · September 14, 2024 ·

How to annotate multiple plots with p-value in ggplot2

In this tutorial, we will learn how to add p-value to each facet plot made with facet_wrap() function in ggplot2. We will use scatter plot example, where we have multiple scatter plots using facet_wrap and we have done linear regression analysis to find the statisitical … [Read more...] about How to add P-value to each facet in ggplot2

Filed Under: facet_wrap ggplot2, ggplot2, R Tagged With: add p-values to each facet

How to make Annotated heatmap with Seaborn in Python

datavizpyr · September 11, 2024 ·

How to annotate heatmap with Seaborn in Python

In this post, we will learn how to make annotated heatmap using data visualization package Seaborn in Python. We will use Seaborn's heatmap() function to make a heatmap first. Next we will show how to annotate the heatmap with simple text. And finally we will show how to add … [Read more...] about How to make Annotated heatmap with Seaborn in Python

Filed Under: Python, Seaborn, Seaborn heatmap Tagged With: Annotate Seaborn heatmap

How to Annotate Positive and Negative Values in a barplot

datavizpyr · September 10, 2024 ·

Correctly align annotation on a horizontal barplot with both negative and positive values

In this post, we will learn how to properly annotate a bars barplot, where there are both positive and negative values/bars in ggplot2. In ggplot2, we can use gem_text() with label option to annotate text or bar heights on a barplot easily. However, when we have a barplot that … [Read more...] about How to Annotate Positive and Negative Values in a barplot

Filed Under: barplot ggplot2, ggplot2, R Tagged With: annotate barplot ggplot2

  • « Go to Previous Page
  • Page 1
  • Page 2
  • Page 3
  • Page 4
  • 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