Backend operation of grafana

Hi, I’m m new to grafana ,can u please explain me how the backend operation is working for displaying the graph(i.e how the data is appending to the graph continuously)