Skip to content

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

Open
@mbostock

Description

@mbostock

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()

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn’t working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions