The Grain Atlas draws its maps with JavaScript. The tree itself reads plainly at github.com/grain-ww/grain.