INNER CODE UNIT · Python
create_agent_workload_chart
rohitg00/awesome-ai-apps · multi-agent-teams/content-creation-team/app.py:366
def create_agent_workload_chart(self):
"""Create agent workload distribution chart"""
agents = ['Research Agent', 'Writer Agent', 'Editor Agent', 'SEO Agent', 'Social Agent', 'Analytics Agent']
workload = [18, 25, 20, 15, 12, 10]
colors = ['lightblue', 'lightgreen', 'lightcoral', 'gold', 'plum', 'lightsalmon']
fig = px.pie(
values=workload,
names=agents,
title='Agent Workload Distribution (%)',
color_discrete_sequence=colors
)
fig.update_layout(height=400)
return fig
def create_content_pipeline_chart(self):
"""Create content pipeline status visualization"""