Data presented in tables, charts, graphs, and other visualizations should be formatted so it is accessible for all users.
Key considerations for accessible data visualizations include design and color, labels and descriptions, multiple formats, and interactivity. (Source: Harvard University: Data Visualizations, Charts, and Graphs)
Which chart is more accessible?

Chart 1 uses shapes to indicate the series of each line (not just the color of the line) and includes a clear legend. It also has sufficient color contrast between the lines and white background.
Imagine the charts are in grayscale; would you be able to understand Chart 2?

Example alt text for pie chart: "Sales by quarter: 1st quarter 58%, 2nd quarter 23%, 3rd quarter 10%, 4th quarter 9%."