Complete the formula to create a sparkline for data in cells A1 to A5.
=SPARKLINE([1])The sparkline formula needs the range of data to visualize. Here, A1:A5 is the correct range.
Complete the formula to create a line sparkline for data in cells C1 to C6.
=SPARKLINE(C1:C6, [1])The second argument is an options array. To specify a line chart, use {"charttype", "line"}.
Fix the error in the sparkline formula to show a column chart for data in D1 to D4.
=SPARKLINE(D1:D4, [1])The options must be a proper array with keys and values as strings. {"charttype", "column"} is correct.
Fill both blanks to create a sparkline with a win/loss chart type for data in E1 to E7.
=SPARKLINE([1], [2])
The data range is E1:E7 and the chart type option for win/loss is {"charttype", "winloss"}.
Fill all three blanks to create a sparkline for F1:F5 with a column chart and set the color to red.
=SPARKLINE([1], { [2], "column" ; [3] })
The data range is F1:F5. The options include the key "charttype" with value "column" and the key "color" with value "red". Here, the learner fills the key for chart type and the color option.