Command Palette

Search for a command to run...

Hectal
Phase 7: Shapes and the Chart Catalogue
Data Visualization · Exercise 2 of 4 PreviousNext
Intermediate

Bins of ten

The histogram of e-bike batteries has 11 bars and the last one is 100-110, although no battery is above 100.

Use the fixed range 0 to 100 and ten bins, so the page shows 10 bars and the last one holds 23 bikes.

What Check tests

  1. The chart has 10 bars
  2. The last bar counts 23 bikes
  3. No attribute holds NaN

Stuck? One hint at a time

The solution unlocks after your first Check. Try first: that is where the learning happens.

Runs in your browser. Your code is saved here.

Your page

Press Run to see the page.

Console

Nothing logged yet.