D3.JS Examples - update datastructures