basic interfaces built in d3js