I am wondering if there is a way we can produce a graph like this
using survival data. For example suppose we have this dataframe
d = {\'time_i