-
Notifications
You must be signed in to change notification settings - Fork 187
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Proportional symbol mark? #41
Labels
enhancement
New feature or request
Comments
Fil
added a commit
that referenced
this issue
Dec 18, 2020
Fil
added a commit
that referenced
this issue
Dec 18, 2020
An experiment here: https://observablehq.com/@fil/plot-symbols |
Closed
Linked to #170 |
See also the preattentive symbols by Heman Robinson https://observablehq.com/@heman/preattentive-symbols-176 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Speaking in general, we have several possibilities for proportional symbols:
Note that svg:use + defs covers the three cases, and removes the difficulty of having to define complex symbols when we're not happy with the set in d3.symbols.
See https://observablehq.com/@fil/svg-use
So if we want a variant of Plot.dot that allows various symbols, I would try to code it with
<use>
. The range of the symbol scale is a list of objects that would have an id and be added to the defs, or a list of ids—but then how do we pass the objects themselves? The mark could default to<use href=#square>
. And it would accept an orientation channel!(discarding svg:polygon which has no advantage that I know of over svg:path.)
The text was updated successfully, but these errors were encountered: