more on adding dynamic d3 charts