Make bar width for discrete x axis vary based on viewport width