Remove unused code.
Make the chart tall and thin on very narrow viewports.
Docs.
Improve the placement of the axes ticks.
Use colours with more contrast. These colours aren't colour blind safe but mouseover highlighting with the legend can be added to compensate.