Looking for a State timeline chart from javascript code

I am interested in finding some kind of JS code for making a State timeline chart in javascript.
I know that Grafan has a really nice solution for this, so its some thing smililar.
I have like an array of data that has different values depending on the state of the machine.

Does anyone know if there is something out there that i can use.

Thanks alot.