old version of d3 for monomi (meanwhile)