This post describes my highly convoluted method of making an animated globe using Khan Academy's computer science framework.
A few weeks ago I found a set of coordinates for a world map in JSON...
Like HTML, SVGs are represented using the Document Object Model (DOM) and so can be manipulated with Javascript relatively easily.
First create your SVG. Give the element you want to control an id so...