From 5cab4b1386995e644a9b3560c026a75c6d6cf540 Mon Sep 17 00:00:00 2001 From: Quincy Morgan Date: Tue, 10 Dec 2019 11:23:12 -0500 Subject: [PATCH] Revert circular markers (open #6163) --- modules/svg/points.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/modules/svg/points.js b/modules/svg/points.js index 49fd577de..7ba4fdbc3 100644 --- a/modules/svg/points.js +++ b/modules/svg/points.js @@ -9,8 +9,8 @@ export function svgPoints(projection, context) { function markerPath(selection, klass) { selection .attr('class', klass) - .attr('transform', 'translate(-9, -24)') - .attr('d', 'M9.5,24 L9.256,23.476 C8.1125,21.017 6.524,18.791 4.572,16.91 C1.857,14.295 0.5,11.825 0.5,9.5 C0.5,4.53 4.53,0.5 9.5,0.5 C14.471,0.5 18.5,4.529 18.5,9.5 C18.5,11.825 17.143,14.295 14.428,16.91 L14.43,16.91 C12.476,18.79 10.89,21 9.74,23.48 L9.5,24 Z'); + .attr('transform', 'translate(-8, -23)') + .attr('d', 'M 17,8 C 17,13 11,21 8.5,23.5 C 6,21 0,13 0,8 C 0,4 4,-0.5 8.5,-0.5 C 13,-0.5 17,4 17,8 z'); } function sortY(a, b) { @@ -118,10 +118,10 @@ export function svgPoints(projection, context) { enter .append('use') - .attr('transform', 'translate(-5.5, -20.5)') + .attr('transform', 'translate(-5, -19)') .attr('class', 'icon') - .attr('width', '12px') - .attr('height', '12px'); + .attr('width', '11px') + .attr('height', '11px'); groups = groups .merge(enter)