d3 improvments.