Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Broken binned stacked area #1422

Closed
kanitw opened this issue Jun 10, 2016 · 0 comments
Closed

Broken binned stacked area #1422

kanitw opened this issue Jun 10, 2016 · 0 comments

Comments

@kanitw
Copy link
Member

kanitw commented Jun 10, 2016

{
  "data": {
    "url": "data/cars.json"
  },
  "mark": "area",
  "encoding": {
    "color": {
      "field": "Origin",
      "type": "nominal"
    },
    "x": {
      "bin": true,
      "field": "Horsepower",
      "type": "quantitative"
    },
    "y": {
      "aggregate": "count",
      "field": "*",
      "type": "quantitative"
    }
  }
}

vega_editor

Another one

{
  "data": {
    "url": "data/cars.json"
  },
  "mark": "area",
  "encoding": {
    "color": {
      "field": "Cylinders",
      "type": "nominal"
    },
    "y": {
      "aggregate": "mean",
      "bin": false,
      "field": "Horsepower",
      "type": "quantitative"
    },
    "x": {
      "bin": {},
      "field": "Acceleration",
      "type": "quantitative"
    }
  }
}

vega_editor

@kanitw kanitw changed the title Broken stacked histogram Broken stacked area Jun 17, 2016
@kanitw kanitw changed the title Broken stacked area Broken binned stacked area Jun 17, 2016
@kanitw kanitw closed this as completed in df328a0 Jun 17, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant