Sunburst Chart
Media Production Workflow
Light-themed sunburst chart showing media production hierarchy from phases to departments to deliverables.
Output
Python
import matplotlib.pyplot as plt
import numpy as np
fig, ax = plt.subplots(figsize=(12, 10), facecolor='#ffffff')
ax.set_facecolor('#ffffff')
# Inner ring - Production phases
phase_sizes = [25, 35, 25, 15]
phase_labels = ['Pre-Prod', 'Production', 'Post-Prod', 'Distribution']
phase_colors = ['#276CF5', '#F5276C', '#6CF527', '#F5B027']
# Outer ring - Teams/deliverables
team_sizes = [10, 8, 7, 12, 12, 11, 10, 8, 7, 8, 7]
team_colors = ['#276CF5', '#4A8CFF', '#6BA3FF',
'#F5276C', '#FF5A94', '#FF8CB8',
'#6CF527', '#8FFF5C', '#B2FF8C',
'#F5B027', '#FFCC5C']
wedges_outer, _ = ax.pie(team_sizes, radius=1, colors=team_colors,
wedgeprops=dict(width=0.3, edgecolor='white', linewidth=2))
wedges_inner, _ = ax.pie(phase_sizes, radius=0.7, colors=phase_colors,
wedgeprops=dict(width=0.3, edgecolor='white', linewidth=2))
# Add phase labels
for i, (wedge, label) in enumerate(zip(wedges_inner, phase_labels)):
ang = (wedge.theta2 - wedge.theta1) / 2 + wedge.theta1
x = 0.55 * np.cos(np.radians(ang))
y = 0.55 * np.sin(np.radians(ang))
ax.text(x, y, label, ha='center', va='center', fontsize=9,
color='white', fontweight='bold')
centre_circle = plt.Circle((0, 0), 0.4, fc='white', ec='#e5e7eb', linewidth=2)
ax.add_artist(centre_circle)
ax.text(0, 0, 'Film Prod\n85 Crew', ha='center', va='center',
fontsize=12, color='#1f2937', fontweight='bold')
# Legend
team_labels = ['Script', 'Casting', 'Location', 'Camera', 'Sound', 'Lighting',
'Editing', 'VFX', 'Color Grade', 'Marketing', 'Release']
ax.legend(wedges_outer, team_labels, loc='center left', bbox_to_anchor=(1.05, 0.5),
fontsize=9, frameon=True, facecolor='white', edgecolor='#e5e7eb',
labelcolor='#374151', title='Teams', title_fontsize=10)
ax.set_title('Media Production', fontsize=18, color='#1f2937',
fontweight='bold', pad=20)
plt.tight_layout()
plt.show()
Library
Matplotlib
Category
Part-to-Whole
More Sunburst Chart examples
☕