History graph in excel

I’m trying to figure out the actual name of these graphs that track state changes and would like to replicate this in excel with time values and state changes. Is this possible?