tweaks to d3