Slackbot
03/16/2023, 6:23 PMAaron Dennis
03/16/2023, 6:36 PMPlot.plot({
marks: [
Plot.barX(fruitData, Plot.groupZ({x: "sum"}, {
x: "value",
fill: "fruit",
order: "x",
// reverse: true // this doesn't seem to change things
}))
]
})
Aaron Dennis
03/16/2023, 6:36 PMZach Bogart
03/16/2023, 6:38 PMAaron Dennis
03/16/2023, 6:38 PMAaron Dennis
03/16/2023, 6:39 PMAaron Dennis
03/16/2023, 7:53 PMreverse
?Fil
03/16/2023, 8:39 PMFil
03/16/2023, 8:40 PMPlot.plot({
marks: [
Plot.barX(
fruitData,
Plot.stackX(
{
order: "x",
reverse: true
},
Plot.groupZ(
{ x: "sum" },
{
x: "value",
fill: "fruit"
}
)
)
)
]
})
Aaron Dennis
03/16/2023, 8:42 PMFil
03/16/2023, 8:44 PMZach Bogart
03/16/2023, 9:45 PMZach Bogart
03/16/2023, 11:32 PM