Drivers of community attachment: an interactive analysis


In this research, we will investigate several different approaches and methods to displaying multivariate data. Emphasis will be placed on end-user-customization tools and flexibility in dynamic and interactive displays. Specifically, we will highlight the use of motion charts using Markus Gesmann’s googleVis package in R. We will demonstrate the visualization of time-series data and also the results of multidimensional scaling and principal component analysis using this tool. The goals of these displays are ease of usability and interpretation, dynamic customization options, and the ability to display multivariate data in a meaningful way. In addition we will explore partial least squares path modeling using data collected from the Knight Foundation and Gallup during the years 2008–2010 to illustrate the attachment of people to their communities in a new and innovative way.

This is a preview of subscription content, log in to check access.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8
Fig. 9
Fig. 10
Fig. 11
Fig. 12
Fig. 13
Fig. 14
Fig. 15


  1. Everitt B, Dunn G (2001) Applied multivariate data analysis. Hodder Arnold, London

    Google Scholar 

  2. Gesmann M, de Castillo D (2011) Using the Google Visualization API with R. R J 3(2):40–44

    Article  Google Scholar 

  3. Hofmann H, Wickham H, Cook D (2019) The 2013 Data Expo of the American Statistical Association, Computational Statistics XX(YY):This Issue

  4. Husson F, Josse J, Le S, Mazet J (2013) R package version 1.24.

  5. Knight Foundation Soul of the Community (2013) What attaches people to their communities?

  6. R Core Team (2013) R: a language and environment for statistical computing. R Foundation for Statistical Computing, Vienna, Austria.

  7. Sanchez G (2013) PLS Path Modeling with R. Trowchez Editions. Berkeley, 2013.

  8. Wickham H (2009) ggplot2: elegant graphics for data analysis. Springer, New York

    Google Scholar 

Download references


The author greatly appreciates the generous comments and suggestions of two anonymous reviewers on the first version of this article.

Author information



Corresponding author

Correspondence to Jessica M. Orth.

Additional information

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.



Tables 6, 7, 8, 9 show the loadings from the MDS.

Table 6 Loadings for MDS on means for survey years 2008–2010
Table 7 Loadings for MDS on standard deviations for survey years 2008–2010
Table 8 Loadings for MDS on proportions for survey years 2008–2010
Table 9 Loadings for MDS on z-scores for survey years 2008–2010
Fig. 16

Average hierarchical cluster analysis for survey years 2008–2010

Hierarchical Cluster Analysis seeks to create clusters based on sets of dissimilarities for the cities. Through the use of an iterative algorithm, hierarchical cluster analysis begins with each city in their own cluster, and then joins the cities together that are the most similar. Figure 16 shows the dendrograms for each year, and the clusters of cities obtained by this method. Cutting each tree at 0.8, we can observe different numbers of clusters for each year, as well as different groupings of the cities throughout time.

Rights and permissions

Reprints and Permissions

About this article

Verify currency and authenticity via CrossMark

Cite this article

Orth, J.M. Drivers of community attachment: an interactive analysis. Comput Stat 34, 1591–1611 (2019).

Download citation


  • Dynamic graphics
  • Interactive visualizations
  • Multivariate statistical analysis