Sektion 1. Kapitel 6
single
Challenge: Bar Charts
Stryg for at vise menuen
Opgave
Stryg for at begynde at kode
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 alt klart?
Tak for dine kommentarer!
Sektion 1. Kapitel 6
single
Spørg AI
Spørg AI
Spørg om hvad som helst eller prøv et af de foreslåede spørgsmål for at starte vores chat