UNPKG

438 BHTMLView Raw
1---
2layout: example.html
3title: d3 Integration
4shortdesc: Example of using OpenLayers and d3 together.
5docs: >
6 <p>The example loads TopoJSON geometries and uses d3 (<code>d3.geo.path</code>) to render these geometries to a canvas element that is then used as the image of an OpenLayers image layer.</p>
7tags: "d3"
8resources:
9 - https://d3js.org/d3.v3.min.js
10 - https://d3js.org/topojson.v1.min.js
11---
12<div id="map" class="map"></div>