March 2017
Beginner to intermediate
868 pages
18h 52m
English
Overall, this image is dark, and the borders between the states are not particularly visible. We can change this by providing a style for the fill and stroke values used to render the map.
The code for this example is available at the following link:
bl.ock (12.2): https://goo.gl/chhKjz
When opening this URL, you will see the following map:

The only change to the previous example is to set the fill to transparent, and the borders to black:
svg.selectAll('path')
.data(data.features)
.enter()
.append('path')
.attr('d', path)
.style({ fill: 'none', stroke: 'black' });You may have a ...
Read now
Unlock full access