-
Notifications
You must be signed in to change notification settings - Fork 198
Closed
Labels
bugSomething isn’t workingSomething isn’t workingenhancementNew feature or requestNew feature or request
Description
Filing this issue at Mike's suggestion in the d3 slack. I ran into some surprising behavior using Plot.binX without specifying any arguments (https://observablehq.com/d/cf5ba27c74172e3e) and Mike suggested adding a default to handle this case.
Right now this produces the expected plot:
Plot.rectY(data, Plot.binX({ y: 'count' })).plot()While this produces an unexpected (not empty, but also not correct) plot:
Plot.rectY(data, Plot.binX()).plot()One question would be what channels to default to count – in this case I wanted the y channel, but I'm not sure if that's always the right default.
Metadata
Metadata
Assignees
Labels
bugSomething isn’t workingSomething isn’t workingenhancementNew feature or requestNew feature or request