Avsnitt 1. Kapitel 6
single
Challenge: Bar Charts
Svep för att visa menyn
Uppgift
Svep för att börja koda
Create a function to build a bar chart from categorical frequency data and customize its appearance using color and orientation options.
- Use the
categoriesparameter to set the names of the bars. - Use the
countsparameter to set the heights or lengths of the bars. - Use the
colorsparameter to set the color of each bar. - Use the
horizontalparameter to control whether the bars are vertical or horizontal.
Lösning
Var allt tydligt?
Tack för dina kommentarer!
Avsnitt 1. Kapitel 6
single
Fråga AI
Fråga AI
Fråga vad du vill eller prova någon av de föreslagna frågorna för att starta vårt samtal