Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork21
Open
Description
reduce.ts includes:
// TODO: proportion // TODO: proportion-facet // TODO: min-index // TODO: max-indexThis means thatthis ObservablePlot example can't be directly used. It translates to:
<Plotheight={300}marginLeft={60}y={{axis:null }}x={{nice:true }}fy={{domain: ['FEMALE','MALE'] }}color={{legend:true }}facet={{data:penguins,y:'sex' }}> <AreaY {...binX( {data:penguins,x:'culmen_length_mm',fill:'species',fillOpacity:'.',thresholds:'',curve:'natural' }, {y2:'proportion' } )} /> <RuleYdata={[0]} /> <LineY {...binX( {data:penguins,x:'culmen_length_mm',stroke:'species',thresholds:'',curve:'natural' }, {y:'proportion' } )} /></Plot>
(This is one of the issues surfaced by#72)