Command Palette

Search for a command to run...

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

Stack two bike types

The bars should be stacked: the e-bike part sits on top of the pedal part, and together they are as tall as the month's total.

Fix the height of each part so it is its own size (y1 - y0), not the distance from the baseline.

What Check tests

  1. There are 6 bars
  2. March's two parts add up to the total of 75
  3. The e-bike part is on top of the pedal part

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.