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.
Updated missing url https://cdnjs.cloudflare.com/ajax/libs/d3-composite-projections/0.3.5/conicEquidistantJapan.min.js to https://cdnjs.cloudflare.com/ajax/libs/d3-composite-projections/0.3.5/conicequidistantjapan.min.js
https://cdnjs.cloudflare.com/ajax/libs/d3-composite-projections/0.3.5/conicEquidistantJapan.min.js