Posts Tagged ‘ graphics ’

How to make a mosaic plot in R

February 16, 2010
By
How to make a mosaic plot in R

Mosaic plots (aka treemaps) are a great way to visualize hierarchical data. A collection of rectangles represents all the elements to be visualized (customers, news items, blog posts), with the size and color of the rectangles coding attribute. But what makes this chart unique is the arrangement of the elements: where there is hierarchy (customer segments, news topics, post...

Read more »

Mapping the Massachusetts election upset with R, ctd

February 4, 2010
By
Mapping the Massachusetts election upset with R, ctd

Last week we looked at an analysis done in R by the good folks at Offensive Politics, looking at the political climate surrounding the recent Senate election in Massachusetts. There were some very insightful comments (thanks, Revolutions readers!) about the design of the charts, especially in the choice of color schemes used (the originals didn't use a neutral white...

Read more »

Advanced graphics in R – links to slides and code

February 3, 2010
By

A lot of attention recently has gone to the more modern (and, dare I say, sexier) graphics systems in R, ggplot2 and lattice. But there's a lot of power in the base graphics system built into core R, especially when you want control over every aspect of how the graph is laid out. Ryan Rosario has put together some...

Read more »

Crayola crayon colors, 1949-present

January 29, 2010
By
Crayola crayon colors, 1949-present

Here's an example I featured in my list of 7 Awesome Things about R (awesome thing #3: graphics and data visualization). The Learning R blog features a reproduction of a graphic that recently appeared on Flowing Data. It shows the colors in a box of Crayola crayons: before 1949 there were only 8, but over the years additional colors...

Read more »

How to combine Google maps and data in R

January 27, 2010
By
How to combine Google maps and data in R

Every good artist needs a canvas, and when it comes to displaying geographic data placing those data in context -- on a map -- makes all the difference. A new package for R from Markus Loecher, RgoogleMaps, allows you to download a street or satellite map from Google simply by specifying the bounding latitude/longitude coordinates. (You need to sign...

Read more »

How to make a heat map in R

January 21, 2010
By
How to make a heat map in R

FlowingData has just posted a nice step-by-step tutorial on how to make a heat-map in R, like this one on attributes of NBA scorers: If you want to take the concept a step further with time-series data, you can also create calendar heat-maps in R. For example, you can track the level of activity in a forum, or the...

Read more »

New features in ggplot2 version 0.85

January 18, 2010
By

Hadley Wickham recently updated the ggplot2 package for R to version 0.8.5. In addition to bugfixes and performance improvements, this version introduces some handy new features. Among them: the ability to display mathematical equations as text, automatic legends for color scales, and user-configurable axis labels and legend titles. The Learning R blog runs through the new features with worked...

Read more »

A tale of two visualizations (because it’s Friday)

January 15, 2010
By
A tale of two visualizations (because it’s Friday)

GEEK FIGHT!!! says JD Long on Twitter as the New York Times publishes a widely-reposted interactive graphic about Netflix rental data, and the Wall Street Journal also gets into the interactive-viz game with a graphic on bank bonuses. If it's a fight, it's a knockout in the first round, if you ask me. There's no surprise why the Netflix...

Read more »

A web-based graphics application based on R

December 24, 2009
By
A web-based graphics application based on R

FlowingData recently took a look at Jeroen Ooms' latest web-based statistical tool based on R. We've looked at his tools for random-effects models and finance visualizations before, but this one is a more general tool for creating graphs from data sets using the ggplot2 package. It's pretty slick. All you need to do is upload a data set (in...

Read more »

Because it’s Friday: The decline of empires

December 18, 2009
By

Here's a neat visualization of the decline of the British, Spanish, Portugese and French empires from 1800 to present day. It's definitely more art than stats -- judging by the relative size of India and Australia I think the circles are scaled to area, not population -- but it definitely does capture the drama and the ebb and flow...

Read more »

Sponsors

Mango solutions



plotly webpage

dominolab webpage



Zero Inflated Models and Generalized Linear Mixed Models with R

Quantide: statistical consulting and training

datasociety

http://www.eoda.de





ODSC

ODSC

CRC R books series





Six Sigma Online Training









Contact us if you wish to help support R-bloggers, and place your banner here.

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)