Accessible statistical charts / diagrams
Learn about the key requirements for accessible statistical graphics below with comparisons of more accessible and less accessible examples.
The requirements addressed in the examples mainly address the needs of people with a variety of different visual impairments, such as limited visual acuity, tunnel vision, or colour blindness.
Requirements for complex graphics and illustrations for the blind are addressed in the "Text Alternatives" accordion tab below
In a nutshell
![](/en/the-eth-zurich/education/e-accessibility/faq-quick-wins/statistical-charts/_jcr_content/par/textimage_620035700/image.imageformat.textdouble.58460312.png)
When creating accessible statistical graphs and charts, pay particular attention to three aspects.
- Ensure that the contrasts between the representation of the data (points, lines, areas) and the respective background of the charts are clearly visible.
- WCAG: 1.4.3 Contrasts (external pagehttps://www.w3.org/TR/WCAG21/#contrast-minimum).
- Avoid that the assignment between the displayed data and any legends is given by colour alone. Use different symbols, hatching, or patterns to represent the data. Furthermore, it is recommended to label the data directly within the graphics or their axes, also in addition to any legends.
- WCAG: 1.4.1 Use of Colours (external pagehttps://www.w3.org/TR/WCAG21/#use-of-color)
- Always provide your statistical graphs with text alternatives that explicitly describe the most important information the graphs are conveying. Read more about good text alternatives in the accordion tab "Text Alternatives". Whenever possible, also provide your readers with the corresponding data basis for this purpose, e.g., as an accessible table.
- WCAG: 1.1.1 Non-Text Content (external pagehttps://www.w3.org/TR/WCAG21/#non-text-content)
- For basics and background on the how-tos presented here, see e-Accessibility Basics and our Moodle course.
Examples
Below we contrast frequently seen, typical statistical charts with their more accessible versions for your convenience.
Bar charts
Bar charts are a typical example of graphs where legends are often used to label each data representation.
Poorly accessible example
This example violates the international guidelines for accessible electronic content WCAG in at least two ways. The colours of the bars lack contrast and are difficult to distinguish from each other. The connection between the individual bars and the corresponding legends is made solely by their colour scheme. It should also be noted that the labels are generally somewhat small.
![Example. Bar chart, poorly accessible](/en/the-eth-zurich/education/e-accessibility/faq-quick-wins/statistical-charts/_jcr_content/par/image/image.imageformat.1286.2034199320.png)
More accessible examples
This, somewhat duller, but more accessible and print-friendly version meets the guidelines regarding contrasts as well as those regarding the use of colours. Not only can the bars here be easily distinguished and assigned to their respective legends. The bars are also all directly labelled and the labels are larger.
![Example. Bar chart with hatching, black and white, legend, colors](/en/the-eth-zurich/education/e-accessibility/faq-quick-wins/statistical-charts/_jcr_content/par/image_998659724/image.imageformat.1286.2090957392.png)
In addition, the individual bars are labelled directly on the x-axis and even provided with the respective values (y-axis).
The labelling of the individual bars and the connection of the bar patterns to the legend are redundant. Thus, the legend could also be omitted completely here.
The chart remains accessible even if the bars are coloured in addition to the hatchings:
![Example. Bar chart with hatching, legend, colors](/en/the-eth-zurich/education/e-accessibility/faq-quick-wins/statistical-charts/_jcr_content/par/image_838104244/image.imageformat.1286.2085793366.png)
The same techniques can be applied to other chart types. See Surface Area Charts (below).
Scatter plots
Scatter plots often show different data series for direct comparison on one drawing area. The only difference between the data points of the different data series is their colour and they cannot be distinguished from each other in any other way.
Poorly accessible example
The red and blue points in the example below can be poorly distinguished by many people with poor colour and contrast perception.
![Example. Scatter plot, poorly accessible, red-blue](/en/the-eth-zurich/education/e-accessibility/faq-quick-wins/statistical-charts/_jcr_content/par/image_1395644256/image.imageformat.1286.1729006273.png)
More accessible example
Instead of using colours, the data points of the different data series are distinguished from each other using symbols. Of course, the data points may be coloured in addition to being displayed as different symbols, if the contrast to the background remains sufficient.
![Example. Scatter plot, data series with different symbols](/en/the-eth-zurich/education/e-accessibility/faq-quick-wins/statistical-charts/_jcr_content/par/image_239103864/image.imageformat.1286.608464269.png)
Line charts
Similar techniques as for scatter plots can also be applied to line charts. Instead of using colours to distinguish between different data series, different line types can be used for this purpose.
Poorly accessible example
![Example. Line chart, poorly accessible, three colors with legend](/en/the-eth-zurich/education/e-accessibility/faq-quick-wins/statistical-charts/_jcr_content/par/image_160579512/image.imageformat.1286.1039209419.png)
More accessible example
![Example. Line chart, symbols and line types with legend](/en/the-eth-zurich/education/e-accessibility/faq-quick-wins/statistical-charts/_jcr_content/par/image_2136070906/image.imageformat.1286.1448661891.png)
Surface Area Plots
For surface area plots there are similar problems as for bar charts. Mainly the connection between the surface representations on the drawing area and the corresponding legends by colour alone.
Poorly accessible example
![Example. Area chart, poorly accessible, colors with legend](/en/the-eth-zurich/education/e-accessibility/faq-quick-wins/statistical-charts/_jcr_content/par/image_796849551/image.imageformat.1286.1602808392.png)
More accessible examples
One technique for avoiding these typical barriers is to use patterns to label the various surfaces.
![Example. Area diagram, with hatching, legend, colors](/en/the-eth-zurich/education/e-accessibility/faq-quick-wins/statistical-charts/_jcr_content/par/image_521003550/image.imageformat.1286.1134935712.png)
Other techniques involve placing the labels for the different surfaces directly in the drawing area.
In addition, care should be taken to ensure that the different areas are separated from each other by high-contrast lines so that they remain recognizable even to people with reduced visual acuity.
![Example. Area diagram, with colors, labels on drawing area](/en/the-eth-zurich/education/e-accessibility/faq-quick-wins/statistical-charts/_jcr_content/par/image_1316674985/image.imageformat.1286.985609827.png)
Of course, print-friendly versions in shades of grey are also permitted in the interest of accessibility.
![Example. Area diagram, with labels on drawing area, greyscales](/en/the-eth-zurich/education/e-accessibility/faq-quick-wins/statistical-charts/_jcr_content/par/image_568838882/image.imageformat.1286.559140070.png)
Schematic assignments
A special kind of graphical diagrams are schematic representations of seat assignments. Often in the context of reservation systems, where for example still free seats are marked green and sold ones red. Or price categories. Below as an example the composition of the Swiss National Council by political groups.
Poorly accessible example
The political groups are only linked to the respective group names by the colours of the individual seats (circle disks). The contrasts between neighbouring colours are sometimes too poor to distinguish them.
![Example. schematic diagram Swiss National Council, poorly accessible, colors with legend](/en/the-eth-zurich/education/e-accessibility/faq-quick-wins/statistical-charts/_jcr_content/par/image_1833579140/image.imageformat.1286.161600347.png)
More accessible example
Neighbouring fractions are distinguished not only by colour, but also by the fact that some seats are shown as filled circular disks and others as circles with white filling. The assignment to the designation of the respective fractions is not done by a legend, but by labelling in the immediate vicinity of the seats depicted in each case.
![Example. schematic diagram Swiss National Council, more accessible. Description in text](/en/the-eth-zurich/education/e-accessibility/faq-quick-wins/statistical-charts/_jcr_content/par/image_25528602/image.imageformat.1286.564882252.png)