improved chart responsiveness and restyled text in the svg