-
Is there any way to control the bar width on bar chat type plots? And also control the spacing/padding between bars? In the chart below (not rendered with Observable) the bars are too thick for the stacked bar chart. I'd like to be able to control the bar width and also the spacing between them (i.e. not have huge gaps between bars). Do we have to let the chart have auto width to do this? And is there a default min/max bar width. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Yes, you can fine tune the band scales with the settings described in https://github.com/observablehq/plot#position-options : padding, align, paddingInner, paddingOuter — on top of width, marginLeft, marginRight, and inset. |
Beta Was this translation helpful? Give feedback.
Yes, you can fine tune the band scales with the settings described in https://github.com/observablehq/plot#position-options : padding, align, paddingInner, paddingOuter — on top of width, marginLeft, marginRight, and inset.