Abstract
In this paper, we explore the relationships that individuals have with their communities. This work was prepared as part of the ASA Data Expo ‘13 sponsored by the Graphics Section and the Computing Section, using data provided by the Knight Foundation Soul of the Community survey. The Knight Foundation in cooperation with Gallup surveyed 43,000 people over 3 years in 26 communities across the United States with the intention of understanding the association between community attributes and the degree of attachment people feel towards their community. These include the different facets of both urban and rural communities, the impact of quality education, and the trend in the perceived economic conditions of a community over time. The goal of our work is to facilitate understanding of why people feel attachment to their communities through the use of an interactive and web-based visualization. We will explain the development and use of web-based interactive graphics, including an overview of the R package Shiny and the JavaScript library D3, focusing on the choices made in producing the visualizations and technical aspects of how they were created. Then we describe the stories about community attachment that unfolded from our analysis.
This is a preview of subscription content, access via your institution.











References
Becker R, Wilks A (2013) maps: draw geographical maps. http://CRAN.R-project.org/package=maps. R package version 2.3-6
Bostock M, Ogievetsky V, Heer J (2011) D3: data-driven documents. In: IEEE transactions visualization and computer graphics (Proc. InfoVis). http://vis.stanford.edu/files/2011-D3-InfoVis.pdf. Accessed 31 Mar 2014
Buja A, McDonald J, Michalak J, Stuetzle W (1991) Interactive data visualization using focusing and linking. In: Proceedings of ieee conference on visualization, 1991. Visualization’91. IEEE, pp 156–163
Couture-Beil A (2013) rjson: JSON for R. http://CRAN.R-project.org/package=rjson. R package version 0.2.13
Hofmann H, Wickham H, Cook D (2019) The 2013 data expo of the American Statistical Association. Comput Stat 34(4)
RStudio Inc. (2013) shiny: web application framework for R. http://CRAN.R-project.org/package=shiny. R package version 0.4.0
The Knight Foundation (2010) Scorecard. http://issuu.com/knightfoundation/docs/knight-communities-overall?viewMode=magazine&mode=embed. Accessed 31 Mar 2014
The Knight Foundation (2014) Soul of the community. http://www.soulofthecommunity.org/. Accessed 31 Mar 2014
The United States Census Bureau (2014) Census regions and divisions of the United States. https://www.census.gov/geo/maps-data/maps/pdfs/reference/us_regdiv.pdf. Accessed 31 Mar 2014
Tukey J (1977) Exploratory data analysis. Addison-Wesley, Reading
Wickham H (2007) Reshaping data with the reshape package. J Stat Softw 21(12):1–20. http://www.jstatsoft.org/v21/i12/
Wickham H (2009) ggplot2: elegant graphics for data analysis. Springer, New York. ISBN 978-0-387-98140-6. http://had.co.nz/ggplot2/book. Accessed 31 Mar 2014
Wickham H (2011) The split-apply-combine strategy for data analysis. Journal of Statistical Software, 40(1): 1–29 URL http://www.jstatsoft.org/v40/i01/
Author information
Authors and Affiliations
Corresponding author
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
About this article
Cite this article
Kaplan, A.J., Hare, E.R. Putting down roots: a graphical exploration of community attachment. Comput Stat 34, 1449–1464 (2019). https://doi.org/10.1007/s00180-018-0850-7
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s00180-018-0850-7
Keywords
- Soul of the Community
- Data Expo 2013
- Interactive graphics
- Shiny
- D3