Command Palette

Search for a command to run...

Hectal
Phase 13: Maps, Hierarchies and Networks
Data Visualization · Exercise 1 of 4Next
Beginner

Fit the island to its box

The map of the island is drawn with a Mercator projection nobody fitted, so it is a dot in the corner of the box.

Fit the projection so the island fills the 300 × 200 box.

What Check tests

  1. The island path is drawn
  2. The island is wider than 150 pixels
  3. The island stays inside the box
  4. No NaN anywhere

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.