Trying to render a 2d minimap from a 3d block chunk mapData from kirka.io but render a black square?

bpaste html code url

Trying to render a 2d minimap using three.js from kirka.io mapData but it is only rendering a black square box? halp <3