Category Archives: ggplot2

Ordering Categories within ggplot2 Facets

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

Posted in ggplot2, r, text, tidytext, tidyverse, tylerrinker, visualization | Tagged , , , , , | 14 Comments

How do I re-arrange??: Ordering a plot re-revisited

Several years back I wrote a two part blog series in response to seeing questions about plotting and reordering on list serves, talkstats.com, and stackoverflow.  Part I discussed the basics of reordering plots by reordering factor levels.  The essential gist was: … Continue reading

Posted in factor, ggplot2, r, visualization | Tagged , , , , | 4 Comments

Visualizing APA 6 Citations: qdapRegex 0.2.0 & qdapTools 1.1.0

qdapRegex 0.2.0 & qdapTools 1.1.0 have been released to CRAN.  This post will provide some of the packages’ updates/features and provide an integrate demonstration of extracting and viewing in-text APA 6 style citations from an MS Word (.docx) document. qdapRegex … Continue reading

Posted in ggplot2, qdap, r, regular expression | Tagged , , , , , , , , , , | 2 Comments

Shape File Selfies in ggplot2

In this post you will learn how to: Create your own quasi-shape file Plot your homemade quasi-shape file in ggplot2 Add an external svg/ps graphic to a plot Change a grid grob's color and alpha *Note get simple .md version … Continue reading

Posted in discourse analysis, ggplot2, Uncategorized, visualization | Tagged , , , , | 1 Comment

Sochi Olympic Medals

For those who are addicted to R and haven’t the time to click the mouse on a web browser you too can still be informed about the results of the 2014 Sochi Winter Olympics. I was inspired by a SO … Continue reading

Posted in data, ggplot2, reshape, Uncategorized, visualization | Tagged , , , , | 19 Comments

Sentence Drawing: Part II

In a recent blog post I introduced Stefanie Posavec‘s Sentence Drawings. We created this ggplot2 rendition: We left off weighing the aesthetics of the Sentence Drawing with information of quality visualizations. I asked others to think of ways to display … Continue reading

Posted in animation, discourse analysis, ggplot2, qdap, text, Uncategorized, visualization | Tagged , , , , , , | 1 Comment

Sentence Drawing: Function vs. Art

I recently was reading the book “Functional Art” and came across the work of Stefanie Posavec. Her Sentence Drawings (click here to see and click here to learn) caught my attention. Here is a ggplot2 rendition: From what I understand … Continue reading

Posted in discourse analysis, ggplot2, text, Uncategorized, visualization | Tagged , , , , , , , , , , | 8 Comments

How do I re-arrange??: Ordering a plot revisited

Back in October of last year I wrote a blog post about reordering/rearanging plots. This was, and continues to be, a frequent question on list serves and R help sites. In light of my recent studies/presenting on The Mechanics of … Continue reading

Posted in factor, ggplot2, Uncategorized, visualization, work flow | Tagged , , , , , , , | 10 Comments

ggplot2 Choropleth of Supreme Court Decisions: A Tutorial

I don't do much GIS but I like to. It's rather enjoyable and involves a tremendous skill set. Often you will find your self grabbing data sets from some site, scraping, data cleaning and reshaping, and graphing. On the ride … Continue reading

Posted in data, ggplot2, reports, Uncategorized, visualization | Tagged , , , , , , , , | 31 Comments

The Mechanics of Data Visualization

I recently presented about the mechanics of data visualization at the CLaRI Literacy Conference to a group of researchers, teachers and school administrators. The presentation is based on the work of Few (2012; 2009). While the presentation itself is not about … Continue reading

Posted in ggplot2, reports, slidify, Uncategorized, visualization | Tagged , , , , , , , , , , , | 2 Comments