diff --git a/src/scatter.js b/src/scatter.js index f2ea044..e74dbf4 100644 --- a/src/scatter.js +++ b/src/scatter.js @@ -15,14 +15,7 @@ const Scatter = ({ x = x || ((d) => d[0]) y = y || ((d) => d[1]) - const path = data - .map( - (d, i) => - `M${_x(x(d))} ${_y(y(d))} A0 0 0 0 1 ${_x(x(d)) + 0.0001} ${ - _y(y(d)) + 0.0001 - }` - ) - .join(' ') + const path = data.map((d) => `M${_x(x(d))},${_y(y(d))} l0.01,0.01`).join(' ') return (