Tip: Choose Save as PDF in the print dialog to download. Use A4 paper size.
Shade in the A or B circle for each question.
Draw a line connecting each item on the left to its match on the right.
| Left column | Right column | |
|---|---|---|
| 1palette = ["navy", "orange", "grey"] | AA limited palette: a small set of colours chosen on purpose, rather than a rainbow of random colours | |
| 2Sales = blue, Costs = blue | Bcolours = ["blue", "orange"] | |
| 3Colour should not be the only way to show information, so colour-blind viewers can still read the chart | CSame colour for the same category in every chart, so the viewer learns what each colour means | |
| 4A colour-blind safe choice uses colours that differ in lightness, such as blue and orange, instead of red and green | Dline style = solid or dashed + direct label | |
| 5Pass = green, Fail = red (no labels or symbols) | EToo many colours in the palette. Reduce it to a few colours, each with one clear meaning. | |
| 6palette = [red, blue, green, pink, yellow, purple, lime, teal] | FRelies on colour alone, so a red-green colour-blind viewer cannot tell Pass from Fail. Add text labels or symbols. |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
colour palette — A small, consistent set of colours where each colour has one meaning. Use the same colour for the same category, and never rely on colour alone, so colour-blind viewers can still read it.palette = ["navy", "orange", "grey"]colour_of("Sales") = "blue"
bar.fill = colour_of("Sales")if len(palette) > 5:
print("Too many colours")if not has_labels:
add_labels(chart)chart.set_palette("colourblind_safe")