Skip to content

Aicoaching2025/Org-Chart-Graph

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

🌐 Organizational Network Analysis: A Graph-Theoretic Visualization

Python NetworkX Colab License: MIT


📌 Abstract

This repository presents a foundational exploration of graph theory applied to organizational structure analysis. Using the administrative hierarchy of Academics West as a case study, we construct a directed acyclic graph (DAG) to model reporting relationships within an educational institution. This "Hello, Graph World" beachhead project demonstrates core competencies in network construction, data transformation, and visualization using Python.


🎯 Objectives

  • Transform tabular organizational data into a graph-based representation
  • Demonstrate node and edge construction using the NetworkX library
  • Visualize hierarchical relationships through network diagrams
  • Establish foundational skills for advanced social network analysis (SNA)

🧠 Theoretical Framework

Organizational structures can be conceptualized as directed graphs where:

Element Graph Representation
Employees Nodes (V)
Reporting Relationships Directed Edges (E)
Hierarchy Graph Depth

This project employs a DiGraph (directed graph) model, where edge direction flows from supervisor → subordinate, capturing the asymmetric nature of organizational authority.


🛠️ Methodology

Data Source

  • Organization: Academics West Educational Institution
  • Format: Excel spreadsheet (.xlsx)
  • Structure: Two-column relational mapping (person → manager)

Technical Stack

Tool Purpose
🐍 Python 3.x Core programming language
📊 Pandas Data ingestion and transformation
🌐 NetworkX Graph construction and analysis
📈 Matplotlib Network visualization
📓 Google Colab Interactive development environment

📊 Results

The resulting network visualization displays 18 nodes representing staff members and 17 directed edges representing reporting relationships. The graph reveals a hierarchical structure with the Chancellor/CEO as the root node and multiple branching pathways through department heads.

https://colab.research.google.com/drive/1t40cxjNE3nOkfqmRB-2Uxo2L_Sp2DaHj?usp=sharing


🚀 Getting Started

Prerequisites

pip install pandas networkx matplotlib openpyxl

Execution

  1. Clone this repository
  2. Open Netw18.ipynb in Google Colab or Jupyter
  3. Upload org_chart.xlsx when prompted
  4. Run all cells sequentially

📁 Repository Structure

├── Netw18.ipynb          # Primary Jupyter notebook
├── org_chart.xlsx        # Organizational data source
├── screenshot.png        # Output visualization
└── README.md             # Project documentation

🔮 Future Directions

  • Implement centrality measures (degree, betweenness, closeness)
  • Compare organizational structure to canonical graphs (e.g., Krackhardt Kite)
  • Conduct temporal analysis of organizational evolution
  • Apply community detection algorithms

📚 References

References

  • Tsvetovat, M., & Kouznetsov, A. (2011). Social Network Analysis for Startups: Finding Connections on the Social Web. O'Reilly Media.

👩‍💻 Author

Candace | Graduate Student | Network Analysis Enthusiast


📜 License

This project is licensed under the MIT License - see the LICENSE file for details.


🌟 "The structure of a network determines its function." 🌟

About

# Org Chart Node Diagram A "Hello, Graph World" beachhead assignment using Python and NetworkX. ## Description This project visualizes the organizational structure of Academics West as a network graph. Each node represents a staff member, and each edge shows the reporting relationship between employees and their managers.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors