Plot data transformations | Observable | Observable
ojs
ojs
ojs
ojs
ojs
ojs
ojs
ojs
ojs
ojs
ojs
ojs
ojs
ojs
ojs
ojs
ojs
ojs
ojs
ojs
ojs
ojs
ojs
ojs
ojs
ojs
ojs
ojs
Comments (5)
Mike Freeman
Dec 16, 2021
This is surprising! I would have imagined only 3 items returned, but instead they're always 0 for y1 and y2....
Fil
Dec 16, 2021
select doesn't touch the channels, but modifies the facets indices instead
Mike Freeman
Dec 17, 2021
Interesting! At some point I'd be curious about that API design choice.
Fil
Dec 17, 2021
that is the dataframe way; see for example
https://pandas.pydata.org/docs/getting_started/intro_tutorials/03_subset_data.html
Reply
Fil
Dec 16, 2021
it's plotting x and x/basis(z), so you get a line (that goes through the origin [0,0]) for each group z
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
Explore
Forum
Bluesky
YouTube
X
Observable
Sign up
Observable
Mike Freeman
2
Reply
Reply
Add comment
Subscribe to notifications
0
Plot data transformations | Observable | Observable