• 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

barplot

How To Highlight a Bar in Bar Chart in Altair?

datavizpyr · March 18, 2020 ·

Highlight a bar in barplot in Altair

Bar charts are a simple visualization that plots a quantitative variable corresponding to categorical variable as bars. Sometimes we might want to highlight a specific bar in barplot with different color compared to the rest. In this post, we will see examples of * How to Make a … [Read more...] about How To Highlight a Bar in Bar Chart in Altair?

Filed Under: Altair, highlight a bar in barplot, Python Tagged With: Altair, barplot, Python

How To Highlight a Bar in Barplot in R?

datavizpyr · February 19, 2020 ·

How To Highlight a Bar in Barplot in R?

Sometimes while making a barplot, you might like to highlight a single bar in different color when compared to other bars. In this post, we will learn how to highlight a bar in barplot using ggplot2 in R. A Barplot displays counts or some quantitative variable corresponding to … [Read more...] about How To Highlight a Bar in Barplot in R?

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

How To Make Barplots with Error bars in ggplot2?

datavizpyr · February 18, 2020 ·

How to Make Barplots with Error bars in R?

In this post, we will learn how to make a barplot with error bar using ggplot2 in R. Barplot alone is useful to display counts for multiple categories. However, often there may be uncertainty around the count values and we could represent as error bar on the barplot. Let us … [Read more...] about How To Make Barplots with Error bars in ggplot2?

Filed Under: barplot ggplot2, barplot with errorbar, R Tagged With: barplot, ggplot2, R

Matplotlib Bar Plot in Python: Sort (Asc/Desc), Add Labels, Colors, Currency Axis & Horizontal Bars

datavizpyr · February 10, 2020 ·

Highlight Select bars in barplot using Matplotlib

Why Sorting and Customizing Bar Plots Matters? Most bar charts need two upgrades to be useful: (1) put the categories in a meaningful order (ascending/descending), and (2) add polish (value labels, colors, readable axes, or horizontal layout for long names). This tutorial shows … [Read more...] about Matplotlib Bar Plot in Python: Sort (Asc/Desc), Add Labels, Colors, Currency Axis & Horizontal Bars

Filed Under: bar plot Matplotlib, Matplotlib, Python Tagged With: barplot, Matplotlib, Python

Coloring Barplots with ggplot2 in R

datavizpyr · January 6, 2020 ·

Coloring Barplots by a Variable with ggplot2

In this tutorial, we will see examples of making barplots and coloring the barplots in a few simple ways. We will see how to color barplots manually by specifying a color of interest and how to color a barplot by another variable in the dataset. Let us load tidyverse suite of … [Read more...] about Coloring Barplots with ggplot2 in R

Filed Under: barplot ggplot2, color barplots in R, R Tagged With: barplot, ggplot2, R

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