Plot.plot({
marks: [
Plot.barY(pizzaorders.filter(d => d.state === "CA"), {x: "day_of_week", y: "orders", fill: "red", sort: {x: "y", reverse: true}}),
Plot.barY(pizzaorders.filter(d => d.state === "NV"), {x: "day_of_week", y: "orders", fill: "blue", sort: {x: "y", reverse: true}})
]
})