D3 topology rendering issue in Chrome

katahdin

The map below shows the town boundaries for a state in the US. In FF and Safari the town boundaries render properly, but in Google Chrome many of the boundary arcs are connected to the wrong nodes. My code follows the excellent tutorial here. The portion of my code that renders the interior boundaries is the culprit, and I tried sorting the topology features, but it had no effect. Here is the snippet:

    svg.append("path")
    .datum(topojson.mesh(maine, maine.objects.subunits, function(a, b) { return a !== b }))
    .attr("d", path)
    .attr("class", "subunit-boundary interior");

A full example of the site is here

boundary topology error

Peter

I believe your issue is due to this Chrome bug:

Issue 364866: SVG stroke-dasharray applies dashes across disconnected (M) path segments.

Try removing the stroke-dasharray setting from your css. Hopefully you can live without the dashed borders.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

android / chrome web font rendering issue - vertical/width cropping

From Dev

Sunburst D3 text issue

From Dev

D3 Dependency Wheel not rendering properly

From Dev

Google Chrome Issue Rendering Font From @font-face

From Dev

3 column layout rendering issue

From Dev

Google chrome font rendering issue

From Dev

d3 + leaflet path fill issue

From Dev

d3 axis rendering outside the SVG

From Dev

NVD3 Legend Color Guide Rendering Issue - No color appearing in color guide in tooltip within Internet Explorer / Chrome

From Dev

chrome overall font rendering issue 2016

From Dev

D3 Bollinger Band Issue

From Dev

D3 layout tree is not rendering

From Dev

Sunburst D3 text issue

From Dev

Strange rendering issue in Chrome, Opera and Safari

From Dev

Google chrome graphical issue rendering black squares

From Dev

Font-face glyph rendering issue on Chrome and Opera

From Dev

Weird Chrome font rendering issue on Ubuntu, numbers only?

From Dev

Google Chrome Issue Rendering Font From @font-face

From Dev

three.js rendering issue with chrome - uncaught typeerror

From Dev

d3 image in circle not rendering properly

From Dev

TopoJSON rendering issues using D3

From Dev

D3 Line with JSON Data, Not Rendering

From Dev

Dots of Scatterplot in d3 are not rendering

From Dev

chrome rendering issue of hindi font

From Dev

Chrome Version 58.0.3000.4 dev (64-bit) CSS rendering issue

From Dev

Chrome rendering issue on MacBook Pro (OSX 10.9.5) with a menu bar : white space between <td> itself containing <div>

From Dev

D3 slider issue

From Dev

D3 output not rendering in Safari, Firefox, Edge and IE. Works in Chrome

From Dev

Rendering issue in Chrome due to @Font-Face

Related Related

HotTag

Archive