-
Notifications
You must be signed in to change notification settings - Fork 198
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
Currently to use Arquero, you say:
Plot.plot({
marks: [
Plot.tickX(table.indices(), {y: table.column("age"), x: table.column("percent")})
]
})But with a little magic, we could support shorthand for Arquero, treating it like an array of objects:
Plot.plot({
marks: [
Plot.tickX(table, {y: "age", x: "percent"})
]
})Specifically:
- If data is an Arquero table, then data is data.indices().
- If data is an Arquero table, then field names are interpreted as data.column(field).
ericemc3, mkfreeman and darkleaf
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request