import matplotlib.pyplot as plt
# Convert the 'Date' column to datetime format
df['Date'] = pd.to_datetime(df['Date'], format='%d-%b-%y')
# Sum all protocol columns to get total active addresses per day
df['Total Active Addresses'] = df.iloc[:, 1:].sum(axis=1, skipna=True)
# Sort by date to ensure proper plotting
df = df.sort_values(by='Date')
# Plot the total active addresses over time
plt.figure(figsize=(12, 6))
plt.plot(df['Date'], df['Total Active Addresses'], label="Total Active Addresses", color='blue')
plt.xlabel('Date')
plt.ylabel('Total Active Addresses')
plt.title('Total Daily Active Addresses Across All Protocols')
plt.legend()
plt.grid(True)
plt.xticks(rotation=45)
plt.show()