This is a very simple illustrative chart and is not really the kind of chart you would use in statistical sites but it will be a good starting point for statistical charts too.
We start by creating the individual bar which will be a stateless widget that takes in label, amount, and percentage, label will be your x tick and amount will be your label on top and percent will be how much of the bar is filled.
we achieve this by using a column with the labels on top and bottom and the actual bar itself will be a stacked with two containers