Data Science, Artificial Intelligence, Data Visualization, Data Visualisation, Open Source.
binX(), and one that draws vertical rectangles, rectY(). We map weight to x as before, but now we put the count of rows on the vertical dimensions. We’re also specifying the fill color as a constant: Plot.rectY(cars, Plot.binX({y: "count"}, {x: "weight (lb)", fill: "steelblue"})) What if we want to