YouTube (v2) Friendship Network

AnalyzedLargegraphYouTube

YouTube is a video-sharing website. This is the friendship network among users (the readme: symmetric, each edge represented once) with the groups users belong to, as distributed by the Data Lab's Social Computing Data Repository (version 2). This copy holds 2,990,443 friendship links among 1,138,499 users and a list of 1,138,499 user numbers. It also holds 47 groups and 50,691 group memberships.

#Friendship#Group membership#Latent social dimension

Download data package README Original files as received BibTeX JSONSimilar datasets

Analytics

The interactive network needs JavaScript.

· graph.json

The full graph has 1,138,499 nodes; this view shows the 1,000-node sample the pipeline drew for display. Node size is centrality, colour is community.

1.1M
Nodes
3M
Edges
4.61e-06
Density
930
Components
-0.03687
Assortativity
0.0%
Reciprocity
669.6K
Bridges
Most central nodes
10720.02526
3630.01286
356610.00991
1060.00919
4827090.00857
6446030.00777
9290.00695
8080.00536
278370.00474
1086240.0043

Record

Catalog key
youtube-v2
Authors
Tang, Lei; Liu, Huan
Year
2009
Source paper
Relational Learning via Latent Social Dimensions
DOI / arXiv
10.1145/1557019.1557109
License
Research use only (LicenseRef-Research-Only)
Contents
2,990,443 edges
1,138,499 nodes
47 communities
50,691 memberships
Rows of the data package, version 1.0.0.
Overlaps with
YouTube Social Network: 50% of this dataset's rows are also in it, and 65% of its rows are also in this dataset (measured on samples of 5,639 and 4,384)
Shares are measured on a sample of each dataset's content, so they are estimates.
Nodes are
user
Edges are
friendship
Attributes
nodes have attributes; edges have no attributes
Languages
en
Collected
2009 (2000s)
Tasks
From the graph: link prediction, community detection
Region
Global (inferred: the platform is used worldwide)

Provenance

Originally published at
https://datasets.syr.edu link checked
Original files as received
The source files, unconverted, kept for reference: mirrored on echo.directory on 2026-10-09, 45.0 MB across 5 files. Checksums in MANIFEST.json. For use, start with the data package below.
Data package
Version 1.0.0 of this dataset as an ECHO Data Package: edges (2,990,443 rows), nodes (1,138,499 rows), communities (47 rows), memberships (50,691 rows).

Use from code

Read the edges table directly from echo.directory, without downloading it first. Every file of this package, with checksums, is listed in files.json; see the API documentation.

Python (DuckDB)
import duckdb  # pip install duckdb
df = duckdb.sql("SELECT * FROM 'https://echo.directory/download/youtube-v2/v1.0.0/data/edges.parquet' LIMIT 1000").df()  # drop LIMIT for the whole table
R (arrow)
library(arrow)  # install.packages("arrow")
df <- read_parquet("https://echo.directory/download/youtube-v2/v1.0.0/data/edges.parquet")
SQL (DuckDB)
SELECT * FROM 'https://echo.directory/download/youtube-v2/v1.0.0/data/edges.parquet' LIMIT 10;

Citations

Relational learning via latent social dimensions
Lei Tang, Huan Liu
Journal Article · Knowledge Discovery and Data Mining · 2009

859
citations
well cited
80
influential citations
9% of all citations

Cited by

Show all 10

Citation data from Semantic Scholar, retrieved 2026-11-19.

How to cite

BibTeX

@misc{echo2026,
  title  = {ECHO: Exploratory Compendium of Humanity Online},
  author = {Switzer, Braden and Zafarani, Reza},
  year   = {2026},
  url    = {https://echo.directory},
  note   = {Syracuse University}
}

@inproceedings{tang2009relational,
  title     = {{Relational Learning via Latent Social Dimensions}},
  author    = {Tang, Lei and Liu, Huan},
  booktitle = {Proceedings of the 15th ACM SIGKDD Conference on Knowledge Discovery and Data Mining (KDD'09)},
  pages     = {817--826},
  year      = {2009},
  doi       = {10.1145/1557019.1557109}
}

APA

Switzer, B., & Zafarani, R. (2026). ECHO: Exploratory Compendium of Humanity Online [Data repository]. Syracuse University. https://echo.directory

Tang, L., & Liu, H. (2009). YouTube (v2) Friendship Network [Data set]. https://doi.org/10.1145/1557019.1557109

MLA

Switzer, Braden, and Reza Zafarani. ECHO: Exploratory Compendium of Humanity Online. Syracuse University, 2026, echo.directory.

Tang, Lei, and Huan Liu. YouTube (v2) Friendship Network. 2009, doi.org/10.1145/1557019.1557109.

BibTeX · RIS · CSL-JSON

Similar datasets 10 all with scores →