Stakehollder mapping

mail@pastecode.io avatar
unknown
plain_text
11 days ago
989 B
1
Indexable
Never
import matplotlib.pyplot as plt

# Stakeholders and their positions on the map
stakeholders = {
    "Local Government": (8, 10),
    "National Government": (6, 10),
    "Water Utility Companies": (9, 9),
    "Local Farmers": (8, 5),
    "Community Leaders": (8, 6),
    "NGOs": (8, 5),
    "Residents": (10, 1),
    "Educational Institutions": (5, 3),
    "Local Businesses": (6, 4),
    "International Aid Organizations": (5, 9)
}

# Extract coordinates
names = list(stakeholders.keys())
x = [stakeholders[name][0] for name in names]
y = [stakeholders[name][1] for name in names]

# Create the plot
plt.figure(figsize=(10, 8))
plt.scatter(x, y, color='blue')

# Add labels
for i, name in enumerate(names):
    plt.text(x[i], y[i], name, fontsize=12, ha='right')

# Set axis limits and labels
plt.xlim(0, 10)
plt.ylim(0, 10)
plt.xlabel('Interest')
plt.ylabel('Influence')
plt.title('Stakeholder Map for Water Shortage in Nyagatare')

# Show grid
plt.grid(True)

# Show the plot
plt.show()
Leave a Comment