In addition to being a runnable CLI tool, D2 can also be used to produce diagrams from Go programs. For examples, see ./docs/examples/lib. This blog post also demos a complete, runnable example of ...
It was collected by CG-5 type Gravimeter (Scintrex Corporation, Canada), which has the resolution less than 1 μGal, repeatability less than 5 μGal, and the static drift less than 0.02 mGal per day.