graphics

The distribution of online data usage

June 16, 2010 | David Smith

AT&T has recently announced it will no longer offer unlimited data plans for new iPhone users in the US, and now some carriers in the UK have followed suit. In each case, the providers claim that only a very small number of users actually use enough data to warrant ... [Read more...]

Modifying basic plots in R

May 4, 2010 | Luke Miller

Below is a walk-through of some of the basics of customizing plot in R. These are all based on the graphics package that comes in the base installation of R. Let’s start by making a basic plot in R. In the code snippets below, green text behind a... [Read more...]

Which font uses the most ink?

April 30, 2010 | David Smith

If you're being particularly cost-conscious about your use of printer ink or toner, you may be wondering which font you should choose to minimize ink use. Here's an infographic with the answer: This is an interesting infographic in its own right, but what makes it cool is that these are ... [Read more...]

Example 7.33: Specifying fonts in graphics

April 19, 2010 | Ken Kleinman

For interactive data analysis, the default fonts used by SAS and R are acceptable, if not beautiful. However, for publication, it may be important to manipulate the fonts. For example, it would be desirable for the fonts in legends, axis labels, or o...
[Read more...]

A free book on Geostatistical Mapping with R

April 2, 2010 | David Smith

Tomislav Hengl of the University of Amsterdam has published new book, A Practical Guide to Geostatistical Mapping. It's jam-packed with 291 pages on mapping and analyzing spatial data using free software including R, SAGA, GRASS, ILWIS and Google Earth, and freely-available map data. The book itself is also available for free, ... [Read more...]

How ideological is Google?

March 31, 2010 | David Smith

Adam Bonica, a grad student in political science at NYU, recently published a ranking of the political slant of various professions, based on the amount and recipient (Republican or Democratic) of political donations by lawyers, lobbyists, physicians and many other occupations. This paper (PDF) gives the complete analysis, but the ... [Read more...]

Smoothing time series with R

March 29, 2010 | David Smith

Smoothing is a statistical technique that helps you to spot trends in noisy data, and especially to compare trends between two or more fluctuating time series. It's a useful visualization tool that I'm pleased to see cropping up more and more in statistical graphics on the Web -- it's now ... [Read more...]

Font Families for the R PDF Device

March 24, 2010 | Yihui Xie

otivated by the excellent R package pgfSweave, I begin to notice the font families in my graphs when writing Sweave documents. The default font family for PDF graphs is Helvetica, which is, in most cases (I think), inconsistent with the LaTeX font styles. Some common font families are listed in ?... [Read more...]

Charting SVN commits with R

March 22, 2010 | David Smith

Want to get a quick sense of who are the most active committers to your SVN project? Using just a few lines of R code and the SVN log file, reader and new R user Rhys Kidd created this chart to review commits to the Freespace 2 Source Code Project: Rhys ... [Read more...]

Example 7.28: Bubble plots

March 22, 2010 | Ken Kleinman

A bubble plot is a means of displaying 3 variables in a scatterplot. The z dimension is presented in the size of the plot symbol, typically a circle. The area or radius of the circle plotted is proportional to the value of the third variable. This c...
[Read more...]

Because it’s Friday: Kittens, beware Tufte

March 19, 2010 | David Smith

Edward Tufte has been a tireless promoter of good infographics, and he's even taken some controversial steps to rid the world of chartjunk. But now he's gone too far: Then again, this chart from the Wall Street Journal could lead anyone to felinicide: What's wrong with a simple bar chart, ... [Read more...]

Nutritional supplements, ranked

March 16, 2010 | David Smith

One of my favourite shows on TV right now is The Big Bang Theory. For those who haven't seen it: it's like Friends, except instead of New York yuppies, it's PhD physicists and engineers at CalTech. It's nice to see geeks and smart people be the focus (rather than the ... [Read more...]

Clustering the world’s diets

March 10, 2010 | David Smith

Cluster Analysis is a useful technique for classifying the members of a group (people, events, measurements, etc) into "similar" groups. How "similar" is defined depends on the application, but generally involves looking at a number of attributes of the group. For example, we could cluster people by looking at their ... [Read more...]

White House taps Edward Tufte to explain the stimulus

March 8, 2010 | David Smith

Edward Tufte, a pioneer of effective data visualization (and a personal hero) has just been appointed by the White House to the Recovery Independent Advisory Panel. This panel advises The Recovery Accountability and Transparency Board, whose job is to track and explain $787 billion in recovery stimulus funds. Tufte explains: I'm ... [Read more...]

Chilean earthquake: impact of the tsunami

March 8, 2010 | David Smith

The National Oceanic and Atmospheric Administration (NOAA) has a page with some interesting information about last week's earthquake in Chile, but what really stood out for me was this chart of the predicted wave heights around the globe resulting from the associated tsunami: Click to enlarge: it's a fascinating chart. ... [Read more...]

Analyzing Google’s Winter Olympics Search Traffic with R

March 2, 2010 | David Smith

The Official Google Blog today includes an analysis of Google's search traffic related to the recently-concluded Winter Olympics, correlating various high-profile events with searches from particular countries. For example, traffic from the United States shows the expected diurnal cycle but with promintent peaks for the opening ceremony and the hockey ... [Read more...]
1 7 8 9 10 11

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)