rendering cells into svg