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

feat: support vega spec #483

Merged
merged 1 commit into from Mar 14, 2024
Merged

Conversation

longxiaofei
Copy link
Member

@longxiaofei longxiaofei commented Mar 14, 2024

users can initialize graphic-walker through vega config.

vega_sepc = {
  "mark": "bar",
  "encoding": {
    "x": {"field": "season", "type": "nominal", "axis": {"labelAngle": 0}},
    "y": {"field": "casual", "type": "quantitative", "aggregate": "sum"}
  }
}

walker = pyg.walk(df, spec=vega_sepc)

image

@longxiaofei longxiaofei merged commit 1fb6731 into Kanaries:main Mar 14, 2024
8 checks passed
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

Successfully merging this pull request may close these issues.

None yet

1 participant