Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
d3.js line-symbol
const LINE_SYMBOL_FACTORY = (size) => {
let [ w, h ] = [ size / 2, size / 8 ];
return `M ${-w},${-h} L ${w},${-h} ${w},${h} ${-w},${h} Z`;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.