mend

add D3 functionality