Revert "Anchor d3 to version 3.4.12 since 3.4.13 breaks our internal use of d3.map"

This reverts commit 54950c8c318b746149e68ae36eed350c7dda80a3.
Fix usage of d3.map.

As of D3 version 3.4.13, the internal, private API of d3.map has changed
so that properties are not stored on the d3.map instance directly.  This
means that d3.values(d3.map({a: 1})) no longer returns [1].  Instead,
the public d3.map APIs should be used: d3.map({a: 1}).values().

I’ve also removed what looks like a redundant call to d3.values on an
array.
Merge branch 'd3-bug-fix'