-
Notifications
You must be signed in to change notification settings - Fork 171
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
A scale for the strokeWidth channel? #2017
Labels
enhancement
New feature or request
Comments
The Line 144 in 41a63e3
|
Thanks v much for confirming! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The finite state machine example shows the use of
strokeWidth
as a channel to vary widths. But getting this going on a map is proving tricky:https://observablehq.com/@jimjamslam/vary-stroke-width-on-map
Without varying stroke widths I see the expected links. But once I add
strokeWidth
as a channel, the values appear to be interpreted literally, making them too large enough to overwhelm the plot. (I can see them vary if I manually scale the values with something likestrokeWidth: d => d.count / 100
.I've tried adding a
strokeWidth
object with arange
andtype: "log"
, but that doesn't seem to get me the result I'm looking for, unfortunately!The text was updated successfully, but these errors were encountered: