make graph responsive with small screen widths

make graph responsive with small screen widths