Scripted Dashboards,https://grafana.com/docs/reference/scripting/,Grafana native JS library that allows writing dashboards as code. Loads directly in grafana. Limited to what information that can be loaded.
Grafanalib,https://github.com/weaveworks/grafanalib,Python lib that allows the generation of dashboards. Limited functions for size and position of graphs
Crafana,https://github.com/spoved/crafana.cr,Crystal lib that allows the generation of dashboards as well as terraform files. Written by Holden Omans
Grafonnet,https://github.com/grafana/grafonnet-lib,Jsonnet library for generating Grafana dashboards
Grafana Dash Gen,https://github.com/uber/grafana-dash-gen,A collection of utility classes to construct and publish grafana graphs. The library is built ground up to incorporate grafana terminologies.