Seksjon 1. Kapittel 6
single
Challenge: Bar Charts
Sveip for å vise menyen
Oppgave
Sveip for å begynne å 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
Alt var klart?
Takk for tilbakemeldingene dine!
Seksjon 1. Kapittel 6
single
Spør AI
Spør AI
Spør om hva du vil, eller prøv ett av de foreslåtte spørsmålene for å starte chatten vår