/raphtory-pyvis-streamlit

Using Streamlit to Host a Pyvis Visualisation of the Teenage Glasgow Friendships Temporal Graph Data Loaded within Raphtory

Primary LanguageJupyter NotebookGNU General Public License v3.0GPL-3.0

Interactive Pyvis Graph using Raphtory Temporal Graph Library hosted on Streamlit Cloud

Teenage Friends and Lifestyle Study - Glasgow

(West and Sweeting 1995, Michell and Amos 1997, Pearson and Michell 2000, Pearson and West 2003)

This interactive network visual is hosted through Streamlit Cloud and is available here, https://raphtory-pyvis-teenage-glasgow-friendship.streamlit.app/. You can fork this branch and tailor the graph to build features depending on your research interests. Note Streamlit puts apps to 'sleep' if there is no activity at least once a week. Health warning this probably will be the case (!!) but do let me know via email if you run into this error and cannot refresh it, really you will do me a favour if you show the graph some love ;)

Temporal Network Edges

streamlit.-.Made.with.Clipchamp.mp4
  • The node color indicates whether the student had a parent smoking at home, dark purple.
  • The edges are colored dark blue for students reporting frequent smokers and light blue for occassional and non-smokers.
  • You can filter nodes through the dropdown selecting node, label and then the anonymised student IDs to explore different groups.

References

Bush, H., P. West, and L. Michell (1997). The role of friendship groups in the uptake and maintenance of smoking amongst pre-adolescent and adolescent children: Distribution of Frequencies. Working Paper No. 62. MRC Medical Sociology Unit Glasgow.
Michell, L. (1997a). Pressure groups: young people's accounts of peer pressure to smoke. Social Sciences in Health, 3, 3-17.
Michell, L. (1997b). Loud, sad or bad: young people's perceptions of peer groups and smoking. Health Education Research, 12(1), 1-14.
Michell, L., and A. Amos (1997). Girls, pecking order and smoking. Social Science and Medicine, 44, 1861-1869.
Michell, L., and P. West (1996). Peer pressure to smoke: the meaning depends on the method. Health Education Research, 11(1), 39-49.
Pearson, M., and L. Michell. 2000. Smoke Rings: Social network analysis of friendship groups, smoking and drug-taking. Drugs: education, prevention and policy, 7, 21-37.
Pearson, M., and P. West. 2003. Drifting Smoke Rings: Social Network Analysis and Markov Processes in a Longitudinal Study of Friendship Groups and Risk-Taking. Connections, 25(2), 59-76.
Pearson, M., Ch. Steglich, and T.A.B. Snijders (2006). Homophily and assimilation among sport-active adolescent substance users. Connections 27(1), 47-63.
Steglich, Ch., T.A.B. Snijders, and M. Pearson (2010). Dynamic Networks and Behavior: Separating Selection from Influence. Sociological Methodology, 329-393. DOI: http://dx.doi.org/10.1111/j.1467-9531.2010.01225.x.
Steglich, Ch., T.A.B. Snijders, and P. West (2006), Applying SIENA: An illustrative analysis of the co-evolution of adolescents' friendship networks, taste in music, and alcohol consumption. Methodology, 2, 48-56.
Veenstra, R., and Ch. Steglich (2012). Actor-based model for network and behavior dynamics: A tool to examine selection and influence processes. Chapter 34 (pp. 598-618) in B. Laursen, T. D. Little, and N. A. Card (Eds.), Handbook of developmental research methods. New York: Guilford Press.