On the Sensor Dashboard, you are probably currently better off handling this outside of farmOS unless you want to build a custom Dashboard module yourself. I did some experimenting with integrating Node-Red dashboards into farmOS and it was based on another users module for integrating Grafana. There is a discussion here:
None of this was ever fully completed or used in a production environment so bare that in mind, and it relies on iframes. Also it was on farmOS 2.x but shouldn’t need much changing to work on farmOS 3.x.