Created
September 12, 2022 11:31
-
-
Save Abhayparashar31/d4d27b296563ed1f84e146095b9d695f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def plot_connections_overtime(df): | |
temp = get_connectios_count_df(df) | |
temp["cum_sum"] = temp["count"].cumsum() | |
fig = px.area(temp, x="connected_on", y="cum_sum",labels={ | |
"connected_on":'Date', | |
"count":'Number of Connections' | |
}) | |
return fig | |
plot_connections_overtime(df) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment