Computational Statistics

, Volume 24, Issue 2, pp 195–205 | Cite as

Extending the GGobi pipeline from R

Rapid prototyping of interactive visualizations
  • Michael LawrenceEmail author
  • Hadley Wickham
  • Dianne Cook
  • Heike Hofmann
  • Deborah F. Swayne
Original Paper


This paper describes progress towards developing a platform for rapid prototyping of interactive data visualizations, using R, GGobi, rggobi and RGtk2. GGobi is a software tool for multivariate interactive graphics. At the core of GGobi is a data pipeline that incrementally transforms data through a series of stages into a plot and maps user interaction with the plot back to the data. The GGobi pipeline is extensible and mutable at runtime. The rggobi package, an interface from the R language to GGobi, has been augmented with a low-level interface that supports the customization of interactive data visualizations through the extension and manipulation of the GGobi pipeline. The large size of the GGobi API has motivated the use of the RGtk2 code generation system to create the low-level interface between R and GGobi. The software is demonstrated through an application to interactive network visualization.


Visualization Interactive graphics Exploratory data analysis 


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.


  1. Buja A, Asimov D, Hurley C, McDonald JA (1988) Elements of a viewing pipeline for data analysis. In: Cleveland WS, McGill ME(eds) Dynamic graphics for statistics. Wadsworth, Monterey, pp 277–308Google Scholar
  2. Chapman M, Kelley B (2000) Examining the PyGtk toolkit. Dr. Dobb’s J Softw Tools 25(4): 82Google Scholar
  3. Dwyer T: Adaptagrams library, 2007.
  4. Dwyer T, Marriott K (2006) IPSep-CoLa: an incremental procedure for separation constraint layout of graphs. IEEE Trans Vis Comput Graph 12(5): 821–828CrossRefGoogle Scholar
  5. Gansner ER, North SC (2000) An open graph visualization system and its applications to software engineering. Softw Pract Exp 30(11): 1203–1233zbMATHCrossRefGoogle Scholar
  6. GTK-Doc. GTK-Doc API Documentation Generator, 2007.
  7. Krause A (2007) Foundations of GTK+ development. ApressGoogle Scholar
  8. Lawrence M (2007a) rcola: R binding to adaptagrams implementation of IPSep-CoLa, 2007a.
  9. Lawrence M (2007b) RGtk2,
  10. Lawrence M, Wickham H, Cook D (2007) GGobi Beta Homepage.
  11. R Development Core Team (2005) R: A language and environment for statistical computing. R foundation for statistical computing, Vienna, Austria, 2005. ISBN 3-900051-07-0
  12. Sutherland P, Rossini A, Lumley T, Lewin-Koh N, Dickerson J, Cox Z, Cook D (2000) Orca: a visualization toolkit for high-dimensional data. J Comput Graph Stat 9(3): 509–529CrossRefMathSciNetGoogle Scholar
  13. Swayne DF, Cook D, Buja A (1992) XGobi: interactive dynamic graphics in the X Window system with a link to S. In: American Statistical Association 1991 Proceedings of the section on statistical graphics. American Statistical Association, Alexandria, pp 1–8Google Scholar
  14. Swayne DF, Lang DT, Buja A, Cook D (2003a) GGobi: evolving from XGobi into an extensible framework for interactive data visualization. Comput Stat Data Anal 43: 423–444zbMATHCrossRefMathSciNetGoogle Scholar
  15. Swayne DF, Buja A, Lang DT (2003b) Exploratory visual analysis of graphs in GGobi. Proc DSC 2: 1Google Scholar
  16. Temple Lang D (2001a) Using XML for statistics: the XML package. R News 1(1):24–27.
  17. Temple Lang D (2001b) GGobi meets R: an extensible environment for interactive dynamic data visualization. In: Proceedings of the 2nd international workshop on distributed statistical computingGoogle Scholar
  18. Urbanek S (2006) rJava,
  19. Urbanek S, Theus M (2003) iPlots for R: interactive java-based graphics. In: Proceedings of useR! 2003Google Scholar
  20. Wickham H, Lawrence M (2006) rggobi,

Copyright information

© Springer-Verlag 2008

Authors and Affiliations

  • Michael Lawrence
    • 1
    Email author
  • Hadley Wickham
    • 2
  • Dianne Cook
    • 2
  • Heike Hofmann
    • 2
  • Deborah F. Swayne
    • 3
  1. 1.Fred Hutchinson Cancer Research CenterSeattleUSA
  2. 2.Iowa State UniversityAmesUSA
  3. 3.At&t LabsFlorham ParkUSA

Personalised recommendations