Forked from Wendy Mak's block in reference to this tweet.
Sample code to make an animated globe with d3 on canvas. Borrowing heavily from /mbostock/4183330
The plane flies from startCountry
to endCountry
, and you can rotate the globe around once the animation is done
https://unpkg.com/d3@4.12.0/build/d3.js
https://d3js.org/topojson.v1.min.js