Interactive and Animated Scalable Vector Graphics and R Data Displays
Deborah Nolan and
Duncan Temple Lang
Journal of Statistical Software, 2012, vol. 046, issue i01
Abstract:
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 inR and then post-process the resulting XML documents. The post-processing identifies 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 within HTML 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 viaR graphics functions available as stand-alone, interactive and animated plots for the Web and other venues.
Date: 2012-01-25
References: View complete reference list from CitEc
Citations: View citations in EconPapers (1)
Downloads: (external link)
https://www.jstatsoft.org/index.php/jss/article/view/v046i01/v46i01.pdf
https://www.jstatsoft.org/index.php/jss/article/do ... tation_0.93-1.tar.gz
https://www.jstatsoft.org/index.php/jss/article/do ... 6i01-supplements.zip
Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.
Export reference: BibTeX
RIS (EndNote, ProCite, RefMan)
HTML/Text
Persistent link: https://EconPapers.repec.org/RePEc:jss:jstsof:v:046:i01
DOI: 10.18637/jss.v046.i01
Access Statistics for this article
Journal of Statistical Software is currently edited by Bettina Grün, Edzer Pebesma and Achim Zeileis
More articles in Journal of Statistical Software from Foundation for Open Access Statistics
Bibliographic data for series maintained by Christopher F. Baum ().