plot icon indicating copy to clipboard operation
plot copied to clipboard

The dense interval option on the area mark seems to require the y option

Open mbostock opened this issue 8 months ago • 0 comments

I expect this to work:

Image

Plot.areaY(data, {x: "date", reduce: "count", interval: "day"}).plot()

After all, it works for a line:

Image

Plot.lineY(data, {x: "date", reduce: "count", interval: "day"}).plot()

Instead it seems you have to set the y option to anything:

Image

Plot.areaY(data, {x: "date", y: true, reduce: "count", interval: "day"}).plot()

mbostock avatar May 30 '25 22:05 mbostock