Skip to content

Commit

Permalink
fix: color in path between same station
Browse files Browse the repository at this point in the history
  • Loading branch information
VincentHardouin committed Mar 8, 2024
1 parent 3fa2e51 commit 1c6f674
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ function drawStation({ station, color = '#0d47a1' }) {

g.append('path')
.attr('d', d3.line()(station.properties.coordinates.map(c => projection(c))))
.attr('stroke', '#0d47a1')
.attr('stroke', color)
.attr('stroke-width', 2)
.attr('fill', 'none');
}
Expand Down

0 comments on commit 1c6f674

Please sign in to comment.