Stream Graph

Streaming Service Subscribers Stream

Stream visualization of video streaming platform subscriber growth with neon aesthetics.

Output
Streaming Service Subscribers Stream
Python
import matplotlib.pyplot as plt
import numpy as np

COLORS = {
    'background': '#0a0a0f',
    'text': '#ffffff',
    'grid': '#333333',
}

np.random.seed(606)
quarters = np.arange(0, 24)  # 6 years quarterly

# Streaming services
netflix = 150 + 5 * quarters + 10 * np.sin(quarters * np.pi / 6) + np.random.normal(0, 5, 24)
disney = 50 + 8 * quarters + np.random.normal(0, 3, 24)
hbo = 30 + 3 * quarters + np.random.normal(0, 2, 24)
amazon = 100 + 4 * quarters + np.random.normal(0, 4, 24)
apple = 10 + 3 * quarters + np.random.normal(0, 2, 24)

data = [np.clip(d, 1, None) for d in [netflix, disney, hbo, amazon, apple]]
service_colors = ['#E50914', '#113CCF', '#B01CFF', '#00A8E1', '#A2AAAD']

fig, ax = plt.subplots(figsize=(14, 6), facecolor=COLORS['background'])
ax.set_facecolor(COLORS['background'])

ax.stackplot(quarters, *data, colors=service_colors, alpha=0.85, baseline='sym',
             labels=['Netflix', 'Disney+', 'HBO Max', 'Prime Video', 'Apple TV+'])

ax.axhline(0, color=COLORS['grid'], linewidth=0.5, alpha=0.5)
ax.set_xlim(0, 23)

ax.set_title('Streaming Platform Subscribers (Millions)', color=COLORS['text'], fontsize=14, fontweight='bold', pad=15)
ax.set_xlabel('Quarter', color=COLORS['text'], fontsize=11)
ax.set_ylabel('Subscribers (M)', color=COLORS['text'], fontsize=11)

ax.legend(loc='upper center', bbox_to_anchor=(0.5, -0.12), frameon=False, labelcolor=COLORS['text'], fontsize=9, ncol=5)

for spine in ax.spines.values():
    spine.set_visible(False)
ax.tick_params(colors=COLORS['text'], labelsize=9)

plt.tight_layout()
plt.subplots_adjust(bottom=0.18)
plt.show()
Library

Matplotlib

Category

Time Series

Did this help you?

Support PyLucid to keep it free & growing

Support