Skip to content

Is there a way to use a set of svg paths for the symbol in Plot.dot? #2238

Answered by Fil
fernhaven asked this question in Q&A
Discussion options

You must be logged in to vote

You can see how to create symbols via a series of "turtle" commands in all these files:
https://github.com/d3/d3-shape/tree/main/src/symbol

The commands are documented here
https://observablehq.com/@d3/d3-path

It's a subset of the SVG path spec. I don't recall if someone wrote an adaptor that would read in a SVG path and would call the corresponding commands — but that should be possible.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Fil
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants