Skip to content

Instantly share code, notes, and snippets.

@oller
Created Feb 16, 2016
Embed
What would you like to do?
arc path
var route = view.map.svg
.select(".transactions")
.append("path")
.datum({
type: "LineString",
coordinates: [routeCoords[0], routeCoords[1]]
})
.attr("class", "route")
.attr("d", view.map.path.projection(view.map.projection));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment