D3.js Contour

D3.js allows you to compute contour polygons by applying a marhcing squares algorithm to a rectangular grid of numeric values (matrix).