Calculate pie chart size using container width
Calculate x axis dynamically