All examples By author By category About

rveciana

spam.js error with d3-composite-projections

The following code gives

TypeError: ring[0] is undefined

when clicking on the prefactures.

The code is taken from this example

The error was solved using the

topojson.presimplify(d);

function. More information in this block, which is a new Topojson 1.3 function.