Desmos.jl
Generate Desmos script (JSON) with Julia language.
First example
using Desmos
state = @desmos begin
@text "First example"
@expression cos(x) color=RGB(0, 0.5, 1) color="#f0f"
@expression (cosh(t), sinh(t)) parametric_domain=-2..3
end
On vscode, the output plot will be shown in the plot pane.

Desmos Text I/O
You can also use Desmos Text I/O extension to import/export the desmos-graph.