I just added French rivers_lines to my D3js generated SVG. It now display a result like :
I need to keep the river lines without the artifact.
Data : a topojson made of arcs.
CSS code:
.rivers {
fill: none;
fill-opacity: .1;
stroke-width:1px;
stroke: #C6ECFF;
}
same result with some colors and opacity near zero:
fill: #FF0000;
fill-opacity: .1;
D3 code:
rivers = topojson.feature(fra, fra.objects.rivers),
//Append rivers
svg.append("path")
.datum(rivers)
.attr("d", path)
svg.selectAll(".rivers")
.data(topojson.feature(fra, fra.objects.rivers).features)
.enter().append("path")
.attr("class", function(d) { return "rivers"; })
.attr("data-name-en", function(d) { return d.properties.name; })
.attr("d", path);
My full fiddle is temporarily here.
How to fix that ?