Data and code to plot the key figures of paper "Link recommendation algorithms and dynamics of polarization in online social networks" by Fernando P. Santos, Yphtach Lelkes and Simon A. Levin
-
DATA/
contains the raw data to plot each figure -
Data/figX
contais the raw data corresponding to Figure X -
Plot.ipynb
is a Jupyter notebook that uses data in Data/ and plots key figures -
Analytic.ipynb
implements the analytic model in SI (Figure S11 and Figure S12)
- Python 3.7
- matplotlib
- NumPy