analyzing_social_landscapes_paper
Analyzing Social Landscapes Paper Code Base
https://github.com/amirhossein-dezhboro/analyzing_social_landscapes_paper
Science Score: 67.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
✓DOI references
Found 6 DOI reference(s) in README -
✓Academic publication links
Links to: zenodo.org -
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (11.8%) to scientific vocabulary
Repository
Analyzing Social Landscapes Paper Code Base
Basic Info
- Host: GitHub
- Owner: amirhossein-dezhboro
- License: mit
- Language: HTML
- Default Branch: main
- Size: 1.69 MB
Statistics
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
- Releases: 1
Metadata Files
README.md
Analyzing Social Landscapes: Visualizing the Key Elements of Social Media Dynamics
Authors: Amirhossein Dezhboro, Pouria Babvey, Carlo Lipizzi, Jose Emmanuel Ramirez-Marquez
Affiliation: Stevens Institute of Technology
Publication: TBD
Abstract
This repository contains the complete implementation for the paper "Analyzing Social Landscapes: Visualizing the Key Elements of Social Media Dynamics." We introduce a methodology to analyze social structure through social landscapes using two comprehensive approaches: Galaxy visualizations for content analysis and Discourse Trajectory Inference (DTI) for mapping socio-political spectrums. This represents the first adaptation of pseudo-time analysis from bioinformatics to social media research.
Keywords
social media analysis, discourse trajectory inference, galaxy visualization, social landscapes, network analysis, computational social science, pseudo-time analysis, node2vec, D3.js, content-aware visualization
NOTE
NOTE: Currently the full working code is not available here until the paper is published.
Features
- Galaxy Visualization: D3.js-based interactive visualizations for analyzing conversation networks . Please note that you can also use the observable notebooks for the JS visuals.(https://observablehq.com/d/bdcecf05044fbb71)
- Discourse Trajectory Inference (DTI): First adaptation of pseudo-time analysis from bioinformatics to social media analysis
- Content-Aware Analysis: NLP integration for sentiment, topic, and stance detection
- Leanness Metric: Novel quality measure for conversation assessment
Repository Structure
├── DiscourseTrajectoryMapping.ipynb # DTI implementation
├── index.html # Galaxy visualization interface
├── index.js # Main JavaScript logic
├── inspector.css # Styling for visualizations
├── ngraph006.json # Sample network data
├── package.json # Dependencies
├── runtime.js # Runtime configuration
├── subgraph_3.json # Sample subgraph data
├── subgraph_4.json # Sample subgraph data
└── subgraph_5.json # Sample subgraph data
Installation and Usage
Requirements
- Python 3.7+
- Jupyter Notebook
- Node.js (for D3.js visualizations)
- Required Python packages (see
requirements.txt)
Quick Start
Clone the repository:
bash git clone https://github.com/amirhossein-dezhboro/Analyzing_Social_Landscapes_Paper.git cd Analyzing_Social_Landscapes_PaperGalaxy Visualization: ```bash
Open index.html in a web browser
Or serve with a local server:
python -m http.server 8000
Then visit http://localhost:8000
```
Discourse Trajectory Inference: ```bash
Install required packages
pip install -r requirements.txt
# Run the Jupyter notebook jupyter notebook DiscourseTrajectoryMapping.ipynb ```
Data Requirements
Due to privacy considerations and platform terms of service restrictions, the original Twitter dataset cannot be shared. However, the code is designed to work with standard social media data formats.
Expected Data Format
Your data should include: - For Galaxy Analysis: Tweet networks with reply relationships - For DTI Analysis: User following networks and hashtag usage data
Data Collection Guidelines
- Use Twitter API v2 or similar platforms
- Ensure compliance with platform terms of service
- Follow ethical guidelines for social media research
- Consider user privacy and data protection regulations
Methodology
Galaxy Visualization
- Creates conversation networks from tweet threads
- Applies force-directed layout for visualization
- Supports content-aware analysis (sentiment, topic, stance)
- Implements leanness metric for quality assessment
Discourse Trajectory Inference (DTI)
- Adapts pseudo-time analysis from bioinformatics
- Maps users along continuous ideological spectrums
- Combines content similarity and network structure
- Uses Node2Vec embeddings and UMAP dimensionality reduction
Key Contributions
- 12 Key Elements Framework: Comprehensive taxonomy for social landscape analysis
- Galaxy-DTI Integration: Novel dual approach combining content and network analysis
- First DTI Application: Pioneering use of pseudo-time analysis in social media research
- Leanness Metric: Quality measure specifically designed for conversation networks
Citation
If you use this code in your research, please cite:
```bibtex @article{dezhboro2025analyzing, title={Analyzing Social Landscapes: Visualizing the Key Elements of Social Media Dynamics}, author={Dezhboro, Amirhossein and Babvey, Pouria and Lipizzi, Carlo and Ramirez-Marquez, Jose Emmanuel}, journal={TBD} }
@software{dezhboro2025code, author = {Dezhboro, Amirhossein and Babvey, Pouria and Lipizzi, Carlo and Ramirez-Marquez, Jose Emmanuel}, title = {Analyzing Social Landscapes: Code Implementation}, url = {https://github.com/amirhossein-dezhboro/AnalyzingSocialLandscapes_Paper}, doi = {10.5281/zenodo.15933760}, year = {2025} } ```
License
This project is licensed under the MIT License - see the LICENSE file for details.
Authors
- Amirhossein Dezhboro - Stevens Institute of Technology - ORCID
- Pouria Babvey - Stevens Institute of Technology - ORCID
- Carlo Lipizzi - Stevens Institute of Technology - ORCID
- Jose Emmanuel Ramirez-Marquez - Stevens Institute of Technology - ORCID
Acknowledgments
- Stevens Institute of Technology, School of Engineering and Science
- The research community for feedback and collaboration
Contact
For questions or collaboration inquiries, please contact: - Amirhossein Dezhboro: adezhbor@stevens.edu
Related Work
For more details on the methodology and applications, see our comprehensive paper:
A. Dezhboro, P. Babvey, C. Lipizzi, and J. E. Ramirez-Marquez, "Analyzing Social Landscapes: Visualizing the Key Elements of Social Media Dynamics," TBD
Owner
- Name: Amir Hossein Dezhboro
- Login: amirhossein-dezhboro
- Kind: user
- Location: tehran
- Company: SAB
- Website: adezhboro.ir
- Twitter: adezhboro
- Repositories: 1
- Profile: https://github.com/amirhossein-dezhboro
Systems engineering student @ <b>IUST</b>.
Citation (CITATION.cff)
cff-version: 1.2.0
message: "If you use this software, please cite it as below."
type: software
title: "Analyzing Social Landscapes: Visualizing the Key Elements of Social Media Dynamics - Code Implementation"
version: "1.0.0"
date-released: "2025-01-15"
doi: "10.5281/zenodo.15933759"
url: "https://github.com/amirhossein-dezhboro/Analyzing_Social_Landscapes_Paper"
repository-code: "https://github.com/amirhossein-dezhboro/Analyzing_Social_Landscapes_Paper"
authors:
- family-names: "Dezhboro"
given-names: "Amirhossein"
orcid: "https://orcid.org/0000-0002-7141-5743"
affiliation: "Stevens Institute of Technology, School of Engineering and Science"
- family-names: "Babvey"
given-names: "Pouria"
orcid: "https://orcid.org/0000-0003-1719-3235"
affiliation: "Stevens Institute of Technology, School of Engineering and Science"
- family-names: "Lipizzi"
given-names: "Carlo"
orcid: "https://orcid.org/0000-0001-7888-3382"
affiliation: "Stevens Institute of Technology, School of Engineering and Science"
- family-names: "Ramirez-Marquez"
given-names: "Jose Emmanuel"
orcid: "https://orcid.org/0000-0002-0965-1446"
affiliation: "Stevens Institute of Technology, School of Engineering and Science"
keywords:
- social media analysis
- discourse trajectory inference
- galaxy visualization
- social landscapes
- network analysis
- computational social science
- pseudo-time analysis
- node2vec
- D3.js
- content-aware visualization
- Twitter analysis
- political spectrum mapping
- bioinformatics adaptation
license: MIT
abstract: >
This repository contains the complete implementation for analyzing
social media dynamics through dual social landscape frameworks.
It includes Galaxy visualizations for content analysis and Discourse
Trajectory Inference (DTI) adapted from bioinformatics for mapping
socio-political spectrums. The code enables researchers to apply
these methodologies to their own social media datasets. This represents
the first application of pseudo-time analysis in social media research.
references:
- type: article
title: "Analyzing Social Landscapes: Visualizing the Key Elements of Social Media Dynamics"
authors:
- family-names: "Dezhboro"
given-names: "Amirhossein"
- family-names: "Babvey"
given-names: "Pouria"
- family-names: "Lipizzi"
given-names: "Carlo"
- family-names: "Ramirez-Marquez"
given-names: "Jose Emmanuel"
journal: "Journal of LaTeX Class Files"
volume: 14
issue: 8
year: 2025
CodeMeta (CODEMETA.json)
{
"@context": "https://doi.org/10.5063/schema/codemeta-2.0",
"@type": "SoftwareSourceCode",
"identifier": "10.5281/zenodo.15933759",
"name": "Analyzing Social Landscapes: Code Implementation",
"version": "1.0.0",
"description": "Complete implementation for analyzing social media dynamics through dual social landscape frameworks. Includes Galaxy visualizations for content analysis and Discourse Trajectory Inference (DTI) adapted from bioinformatics for mapping socio-political spectrums.",
"applicationCategory": "Social Media Analysis",
"releaseNotes": "Initial release of the social landscapes analysis framework",
"funding": "Stevens Institute of Technology",
"developmentStatus": "active",
"isAccessibleForFree": true,
"keywords": [
"social media analysis",
"discourse trajectory inference",
"galaxy visualization",
"social landscapes",
"network analysis",
"computational social science",
"pseudo-time analysis",
"node2vec",
"D3.js",
"Twitter analysis"
],
"programmingLanguage": [
"Python",
"JavaScript",
"HTML",
"CSS"
],
"runtimePlatform": [
"Python 3.7+",
"Jupyter Notebook",
"Web Browser"
],
"targetProduct": {
"@type": "CommandLineApplication",
"name": "Social Landscapes Analysis Toolkit"
},
"url": "https://github.com/amirhossein-dezhboro/Analyzing_Social_Landscapes_Paper",
"codeRepository": "https://github.com/amirhossein-dezhboro/Analyzing_Social_Landscapes_Paper",
"issueTracker": "https://github.com/amirhossein-dezhboro/Analyzing_Social_Landscapes_Paper/issues",
"license": "https://spdx.org/licenses/MIT",
"author": [
{
"@type": "Person",
"givenName": "Amirhossein",
"familyName": "Dezhboro",
"@id": "https://orcid.org/0000-0002-7141-5743",
"affiliation": {
"@type": "Organization",
"name": "Stevens Institute of Technology"
}
},
{
"@type": "Person",
"givenName": "Pouria",
"familyName": "Babvey",
"@id": "https://orcid.org/0000-0003-1719-3235",
"affiliation": {
"@type": "Organization",
"name": "Stevens Institute of Technology"
}
},
{
"@type": "Person",
"givenName": "Carlo",
"familyName": "Lipizzi",
"@id": "https://orcid.org/0000-0001-7888-3382",
"affiliation": {
"@type": "Organization",
"name": "Stevens Institute of Technology"
}
},
{
"@type": "Person",
"givenName": "Jose Emmanuel",
"familyName": "Ramirez-Marquez",
"@id": "https://orcid.org/0000-0002-0965-1446",
"affiliation": {
"@type": "Organization",
"name": "Stevens Institute of Technology"
}
}
],
"maintainer": {
"@type": "Person",
"givenName": "Amirhossein",
"familyName": "Dezhboro",
"email": "adezhbor@stevens.edu",
"@id": "https://orcid.org/0000-0002-7141-5743"
},
"dateCreated": "2025-01-15",
"dateModified": "2025-01-15",
"datePublished": "2025-01-15"
}
GitHub Events
Total
- Release event: 1
- Push event: 16
- Create event: 1
Last Year
- Release event: 1
- Push event: 16
- Create event: 1
Dependencies
- ipykernel >=6.0.0
- ipywidgets >=7.6.0
- jupyter >=1.0.0
- matplotlib >=3.4.0
- networkx >=2.6.0
- nltk >=3.6.0
- node2vec >=0.4.0
- numpy >=1.21.0
- pandas >=1.3.0
- plotly >=5.0.0
- python-dotenv >=0.19.0
- scikit-learn >=1.0.0
- scipy >=1.7.0
- seaborn >=0.11.0
- textblob >=0.15.0
- tqdm >=4.60.0
- transformers >=4.0.0
- umap-learn >=0.5.0