Changing the pad size

Charts have a configurable white space padding around their viewports that can be controlled by setting the padSize property in the ChartConfig.

let chart = new soda.Chart({
  selector: "#soda-chart",
  axis: true,
  padSize: 100
});

let ann: Soda.Annotation = soda.generateAnnotations({
  n: 10
})

chart.render({
  annotations: ann
})

See the Pen Changing the pad size in a Chart by Jack Roddy (@jackroddy) on CodePen.