From 1c6f67423e82e21d65c8c15ef6da356930ede236 Mon Sep 17 00:00:00 2001 From: Vincent Hardouin Date: Fri, 8 Mar 2024 13:33:26 +0100 Subject: [PATCH] fix: color in path between same station --- src/script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/script.js b/src/script.js index 4fae117..6ceb876 100644 --- a/src/script.js +++ b/src/script.js @@ -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'); }