CONTACT US: 778-373-4422 | info@mackenziemackenzie.com


Photo by Chris F from Pexels

How to Make a Bar Chart in Python Using ggplot and plotnine

09-July-2021
Extend your visuals from R to Python by using plotnine and ggplot to create a bar chart, using the syntax of Grammar of Graphics that you’re so familiar with. In this episode we’ll use some data from the World Bank about public institutions and the ease of doing business with a range of countries in the dataset. Using plotnine and ggplot makes it easy to do a bar chart, rearrange the data, and flip the chart on it’s side for a better view. This is a “no holds barred” look at our bar charts Enjoy! If you have any questions, please put them in the comments below.



Python Project? Contact me today!

3 Reasons Why You Should Learn Data Techniques

Find 3 big reasons why you should learn data techniques if you are a professional or business person.

Read article

About our workshop

The Professional Problem, 3 Things They Need, and 1 They Don't Have

Why do people constantly run into problems with their data, even when they are highly trained in their area?

Read article

About our workshop

Why Finding Uniqueness is the Key: 6 Methods to Help

Find out why keys and uniqueness are so important for data transformation and data analysis.

Read article

About our workshop

When to Excel and When Not To: Why Specialists Don't Use Excel for Data Transformations

Start your journey in data transformation, and learn why specialists don't use Excel to transform raw data for analysis.

Read article

About our workshop