barY the rows and the x and y fields to draw one bar per month, with rounded tops from radius.z and color to a series field and layout to group() to place each month's series side by side.layout to stack() to pile the series into one bar per month, rounding only the end of the top segment.barX with the band scale on y to lay the bars out sideways, with the category labels on the left.text mark on the same x and y and lift it with dy to print each bar's value above it.text mark at zero for the name inside the bar and another at the bar's end for its value.color to the category field to give every bar its own color from the theme palette.fill, stroke and strokeDasharray to draw one bar with a dashed outline and a lighter fill.fill by sign to paint gains and losses, with labels above or below each bar through dy.Segmented changes, to switch three months of daily bars between desktop and mobile.groupBy, then place female and male counts side by side with group() for each species.fold, then stack() them on a time scale to show monthly totals by cause.barX to rank metro areas by population while keeping long labels readable.groupBy and a mean output, then label each bar with its value.group() two slots and use y1 and y2 to stack two measures in one slot beside a third bar each day.stack({ offset: "diverging" }) to grow the two sides away from a shared zero line.link stem from zero with a dot at the value to draw a lighter bar chart that marks each endpoint.dot marks with a link on each row to compare a 1980 value with its 2015 value for every city.rollingWindow, then let waterfall stack them into floating bars and a net total.areaX band from its own width to the next stage's width, with a label beside the funnel.states to dim the other bars on focus and a crosshair band to ring the active one, switching between iOS and Android from a Segmented.