Interactive and Animated Scalable Vector Graphics and R Data Displays
We describe an approach to creating interactive and animated graphical displays using R's graphics engine and Scalable Vector Graphics, an XML vocabulary for describing two-dimensional graphical displays. We use the svg() graphics device in R and then post-process the resulting XML documents. T...
Main Authors: | , |
---|---|
Format: | Article |
Language: | English |
Published: |
Foundation for Open Access Statistics
2012-01-01
|
Series: | Journal of Statistical Software |
Subjects: | |
Online Access: | http://www.jstatsoft.org/v46/i01/paper |
id |
doaj-3d32754ce4d74435be6e412197b27894 |
---|---|
record_format |
Article |
spelling |
doaj-3d32754ce4d74435be6e412197b278942020-11-25T01:17:53ZengFoundation for Open Access StatisticsJournal of Statistical Software1548-76602012-01-01461Interactive and Animated Scalable Vector Graphics and R Data DisplaysDeborah NolanDuncan Temple LangWe describe an approach to creating interactive and animated graphical displays using R's graphics engine and Scalable Vector Graphics, an XML vocabulary for describing two-dimensional graphical displays. We use the svg() graphics device in R and then post-process the resulting XML documents. The post-processing identities the elements in the SVG that correspond to the different components of the graphical display, e.g., points, axes, labels, lines. One can then annotate these elements to add interactivity and animation effects. One can also use JavaScript to provide dynamic interactive effects to the plot, enabling rich user interactions and compelling visualizations. The resulting SVG documents can be embedded withinHTML documents and can involve JavaScript code that integrates the SVG and HTML objects. The functionality is provided via the SVGAnnotation package and makes static plots generated via R graphics functions available as stand-alone, interactive and animated plots for the Web and other venues.http://www.jstatsoft.org/v46/i01/paperR graphicsinteractive animationvector graphicsJavaScript |
collection |
DOAJ |
language |
English |
format |
Article |
sources |
DOAJ |
author |
Deborah Nolan Duncan Temple Lang |
spellingShingle |
Deborah Nolan Duncan Temple Lang Interactive and Animated Scalable Vector Graphics and R Data Displays Journal of Statistical Software R graphics interactive animation vector graphics JavaScript |
author_facet |
Deborah Nolan Duncan Temple Lang |
author_sort |
Deborah Nolan |
title |
Interactive and Animated Scalable Vector Graphics and R Data Displays |
title_short |
Interactive and Animated Scalable Vector Graphics and R Data Displays |
title_full |
Interactive and Animated Scalable Vector Graphics and R Data Displays |
title_fullStr |
Interactive and Animated Scalable Vector Graphics and R Data Displays |
title_full_unstemmed |
Interactive and Animated Scalable Vector Graphics and R Data Displays |
title_sort |
interactive and animated scalable vector graphics and r data displays |
publisher |
Foundation for Open Access Statistics |
series |
Journal of Statistical Software |
issn |
1548-7660 |
publishDate |
2012-01-01 |
description |
We describe an approach to creating interactive and animated graphical displays using R's graphics engine and Scalable Vector Graphics, an XML vocabulary for describing two-dimensional graphical displays. We use the svg() graphics device in R and then post-process the resulting XML documents. The post-processing identities the elements in the SVG that correspond to the different components of the graphical display, e.g., points, axes, labels, lines. One can then annotate these elements to add interactivity and animation effects. One can also use JavaScript to provide dynamic interactive effects to the plot, enabling rich user interactions and compelling visualizations. The resulting SVG documents can be embedded withinHTML documents and can involve JavaScript code that integrates the SVG and HTML objects. The functionality is provided via the SVGAnnotation package and makes static plots generated via R graphics functions available as stand-alone, interactive and animated plots for the Web and other venues. |
topic |
R graphics interactive animation vector graphics JavaScript |
url |
http://www.jstatsoft.org/v46/i01/paper |
work_keys_str_mv |
AT deborahnolan interactiveandanimatedscalablevectorgraphicsandrdatadisplays AT duncantemplelang interactiveandanimatedscalablevectorgraphicsandrdatadisplays |
_version_ |
1725145144654561280 |