--- title: Intro to loon, an extendible toolkit for exploratory visualization and data analysis author: "| Wayne Oldford, University of Waterloo \n| and \n| Adrian Waddell, Roche \n" graphics: yes output: html_document: default pdf_document: default institute: University of Waterloo header-includes: - \usepackage{graphicx} - \usepackage{color} - \usepackage{hyperref} - \usepackage{multimedia} - \PassOptionsToPackage{pdfmark}{hyperref}\RequirePackage{hyperref} - \newcommand{\given}{~\vline~} - \newcommand{\indep}{\bot\hspace{-.6em}\bot} - \newcommand{\notindep}{\bot\hspace{-.6em}\bot\hspace{-0.75em}/\hspace{.4em}} - \newcommand{\depend}{\Join} - \newcommand{\notdepend}{\Join\hspace{-0.9 em}/\hspace{.4em}} - \newcommand{\imply}{\Longrightarrow} - \newcommand{\notimply}{\Longrightarrow \hspace{-1.5em}/ \hspace{0.8em}} slide_level: 3 fontsize: 9pt --- ```{r setup, include=FALSE} knitr::opts_chunk$set(echo = TRUE) set.seed(12314159) ``` `Loon` is an interactive visualization toolkit for analysts/users/developers engaged in open-ended, creative, and possibly unscripted data exploration. `Loon`'s base set of plots include scatterplots, histograms, barplots, parallel and radial axes plots, graph structures, and any combination of these. Designed for interactive exploratory data analysis, loon plots can be horizontally/vertically panned, horizontally/vertically zoomed, and have plot elements linked to one another to effect such coordinated display behaviour as the selection of points, brushing, etc. Beyond a standard suite, `loon` scatterplots allow a wide variety of point glyphs including serial axes glyphs, text strings, or any custom designed image. Point glyphs may be interactively changed (e.g. colours, shape, size, image, visibility, even location) and functions written which react to any of these changes (thus permitting new interactive possibilities). Scatterplots are also layered, where each layer may contain any number of graphic elements (e.g. lines, circles, polygons, text, etc.), and layers may be made invisible or moved up or down the rendering stack. Common uses of layers include maps and display of fitted functions; layered elements are objects which can also be made to react to arbitrary changes in the display. A ``loon inspector'' provides a central control panel shared by all plots but which adapts to whichever is the active plot. In this tutorial, participants will become familiar with `loon`'s functionality through a series of examples and hands-on exercises. These will cover a wide spectrum of applications beginning with data analysis, including high-dimensional exploratory data analysis, methodological exploration for the classroom or research, as well as exploratory prototyping of new interactive visualizations. To get a full sense of `loon`'s power, it is highly recommended that participants come with a laptop having installed `loon` (from CRAN) prior to the tutorial.