I’ve recently joined the ObservableHQ community and would like to ask for your assistance or advice. I need to implement a chart that looks similar to the one below.
I’m curious about how to create a similar chart using d3 or plot. I want it to be stepped, with rounded corners and a gradient on state change. If one of the series repeats multiple times in a row (for example, “Sleep-Wake-Sleep”), I’d like the sleep line to be more pronounced.
If you have any ideas, tips, or code examples, I’d greatly appreciate your help!
Thank you in advance!