13 lines
394 B
HTML
13 lines
394 B
HTML
---
|
|
layout: example.html
|
|
title: d3 Integration
|
|
shortdesc: Example of using OpenLayers and d3 together.
|
|
docs: >
|
|
The example loads TopoJSON geometries and uses d3 (<code>d3.geo.path</code>) to render these geometries to a SVG element.
|
|
tags: "d3"
|
|
resources:
|
|
- https://unpkg.com/d3@7.4.4/dist/d3.min.js
|
|
- https://unpkg.com/topojson@3.0.2/dist/topojson.js
|
|
---
|
|
<div id="map" class="map"></div>
|