mod. fold methods d3SVGChartObject into as attributes.
add. method for adding rudimentary legends to plots.