Dog Age Distributions | Yuri Vishnevsky | Observable
ojs
ojs
ojs
ojs
ojs
Author
Yuri Vishnevsky
@yurivish
Software engineer and visualization enthusiast. Lives in Cambridge, Massachusetts, with no dogs.
Comments (4)
Veli
May 12, 2021
Try Plot.normalizeY stroke that follows the fill color, something like: stroke: d => meanAges.get(d.breed) + 2,
Yuri Vishnevsky
May 12, 2021
That's interesting! One consequence of doing this is that it changes the colors of the fill, since the domain of the color scale expands to accomodate the extra values from the stroke.
Veli
May 12, 2021
indeed, i tried it now :) makes sense BTW i used a similar concept here:
https://observablehq.com/@bagami/slucajevi-po-zupanijama
COVID trends per county (for Croatia)
Yuri Vishnevsky
May 12, 2021
Neat! 👍
Reply
Add comment
Subscribe to notifications
© 2026 Observable, Inc.
Terms of service
Privacy policy
Product
About
Pricing
Documentation
Release notes
Contact us
Open source
Notebook Kit
Plot
D3
Community
Public
Forum
Bluesky
YouTube
X
Observable
Sign up
Yuri Vishnevsky
10
Reply
Add comment
Subscribe to notifications
6
Dog Age Distributions | Yuri Vishnevsky | Observable