| Literature DB >> 26648881 |
David A Ellis1, Hannah L Merdian2.
Abstract
The study of human perception has helped psychologists effectively communicate data rich stories by converting numbers into graphical illustrations and data visualization remains a powerful means for psychology to discover, understand, and present results to others. However, despite an exponential rise in computing power, the World Wide Web, and ever more complex data sets, psychologists often limit themselves to static visualizations. While these are often adequate, their application across professional psychology remains limited. This is surprising as it is now possible to build dynamic representations based around simple or complex psychological data sets. Previously, knowledge of HTML, CSS, or Java was essential, but here we develop several interactive visualizations using a simple web application framework that runs under the R statistical platform: Shiny. Shiny can help researchers quickly produce interactive data visualizations that will supplement and support current and future publications. This has clear benefits for researchers, the wider academic community, students, practitioners, and interested members of the public.Entities:
Keywords: R; Shiny; knowledge-exchange; research methods; statistics; visualization
Year: 2015 PMID: 26648881 PMCID: PMC4664644 DOI: 10.3389/fpsyg.2015.01782
Source DB: PubMed Journal: Front Psychol ISSN: 1664-1078
Figure 1Static vs. dynamic data visualization. A static graph showing a positive relationship between fear and emotionality (A) can quickly be turned into a dynamic visualization (B) which in this example allows a website visitor to select a sub-group (male participants) of interest. Other variables are also available from the drop-down menus on the left and the included statistical analysis updates automatically based on user selections. However, this relies on the data being available to both a user interface and server to process these requests. Previously this was only possible by developing interactive web applications using a combination of HTML, CSS, or Java. However, this is no longer a limiting factor. For those who have a basic knowledge of R, the move from static to dynamic reporting is relatively straightforward.
Information about the included dataset—.
| Participant ID | Participant |
| Gender | sex |
| Age | age |
| Victim of crime | victim_crime |
| Honesty-humility | H |
| Emotionality | E |
| Extraversion | X |
| Agreeableness | A |
| Conscientiousness | C |
| Openness to experience | O |
| State anxiety | SA |
| Trait anxiety | TA |
| Happiness | OHQ |
| Fear of crime | FoC |
| Fear of crime (2 item version) | Foc2 |
Copies of this data set can be found in all included code folders (Supplementary Material).
Categorical variable. Remaining variables are all numeric with higher scores indicating increased levels of each trait.
Figure 2Showing a variety of visualization options within Example 3.