allow local D3; make texts pan & zoom
adjust line dash styles
add test plots
add handling of patches
DOC: document high-level functions
more docs and cleanup