Update d3 version in d3 example

This commit is contained in:
Frederic Junod
2019-05-17 14:27:20 +02:00
parent 6b50f1555b
commit 6dc00b75e0
2 changed files with 2 additions and 2 deletions

2
examples/d3.js vendored
View File

@@ -85,7 +85,7 @@ const map = new Map({
/**
* Load the topojson data and create an ol/layer/Image for that data.
*/
d3.json('data/topojson/us.json', function(error, us) {
d3.json('data/topojson/us.json').then(function(us) {
const layer = new CanvasLayer({
features: topojson.feature(us, us.objects.counties)