3587 search results for "ggplot"

Ordering Categories within ggplot2 Facets (followup)

December 22, 2016
By
Ordering Categories within ggplot2 Facets (followup)

I saw Simon Jackson’s recent blog post regarding ordering categories within facets. He proposed a way of dealing with the problem of ordering variables shared across facets within facets. This problem becomes apparent in text analysis where words are shared … Continue reading →

Read more »

Scalable plotting with ggplot2 – Part II

Scalable plotting with ggplot2 – Part II

Introduction

Read more »

Compiling the ggplot2 book on Mac OS

Compiling the ggplot2 book on Mac OS

This note explains to compile Hadley Wickham’s ggplot2 book on Mac OS. This guide has 8 steps. If you have already installed R and RStudio, you should be able to get through Steps 1-4 very quickly. Similarly, if you use Git, Steps 5-6 should also be very straightforward. The longest steps are Step 7 (package dependencies) and Step 8 (book compilation). 1....

Read more »

scatterpie for plotting pies on ggplot

December 6, 2016
By
scatterpie for plotting pies on ggplot

Plotting pies on ggplot/ggmap is not an easy task, as ggplot2 doesn’t provide native pie geom. The pie we produced in ggplot2 is actually a barplot transform to polar coordination. This make it difficult if we want to produce a map like the above screenshot, which was posted by Tyler Rinker, the author of R package pacman.

Read more »

The hourly heatmap with ggplot2

November 30, 2016
By
The hourly heatmap with ggplot2

a quick follow up to my last post - I’ve had a few folk get in touch following my last post, all commenting on the last plot : Most of these enquiries went along the following lines: “I hadn’t thought of doing that. It looks really ...

Read more »

ggplot2: multiple legends for the same aesthetic

November 30, 2016
By
ggplot2: multiple legends for the same aesthetic

When working with ggplot2 you don't have to care about legend, it is automatically produced according to the mapped aesthetics. But producing separate legends for the same aesthetic is not easy. This article proposes a solution! The post ggplot2: multiple legends for the same aesthetic appeared first on Quantide - R training & consulting.

Read more »

How to create a ggplot Theme – Unicorn Edition

November 29, 2016
By
How to create a ggplot Theme – Unicorn Edition

Themes are an convenient way to give ggplot charts an individualized, sometimes stylish look. Most of the time, I rely on the ggthemes package and the Economist style. Last week colleagues asked me to change the look of my charts. We joked around and I...

Read more »

The Hitchhiker’s Guide to Ggplot2 in R

November 29, 2016
By
The Hitchhiker’s Guide to Ggplot2 in R

About the book This is a technical book. The scope of the book is to go straight to the point and the writing style is similar to a recipe with detailed instructions. It is assumed that you know the basics of R and that you want to learn how to c...

Read more »

Daily metric tracking with ggplot2

November 26, 2016
By
Daily metric tracking with ggplot2

In my role I have to produce a lot of run charts and control charts for monthly data, but sometimes there are processes behind the run charts that merit looking at the data on a daily basis. It can become impractical to start producing run c...

Read more »

Global sea ice time series visualization sandbox with R, ggplot, and plotly

November 22, 2016
By

In the past couple of weeks I’ve noticed a flurry of visualizations of global sea ice extent on social media. If you’re like me, and curious to see what the data look like yourself, here’s a bit of R code to fetch and visualize the most recent da...

Read more »

Sponsors

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)