I need to build a graph that reflects train movement for a daily period. Something like this:

![enter image description here](https://i.stack.imgur.com/RRn15.png)

I've never built graphs like that. Have you any idea what I should start with? I found a graphic library `d3.js` but yet have no experience of working with it. 

Can you guide me a little?

Thanks!