Example of using ol3 and d3 together.
The example loads TopoJSON geometries and uses d3 (d3.geo.path
) to render these geometries to a canvas element that is then used as the image of an ol3 image layer.
See the d3.js source to see how this is done.