satellitePath

by Igor Cuckovic

JavaScript

/* svg sattelite*/
var satellitePath = "M 23.03,11.78 26.33,9.86 9.19,0 l -9.23,5.39 17.13,9.86 3.43,-2 2.32,1.2 -1.96,1.07 5.66,2.99 1.65,-0.84 2.32,1.16 -2.9,1.875 16.96,9.86 9.24,-5.4 -17.05,-9.82 -3.66,2.051 -2.27,-1.25 1.47,-0.98 -5.58,-2.99 -1.29,0.8 z"

svg = d3.select("body").append("svg");

svg.append("path").attr("d", satellitePath).attr("fill", "darkred")


/*date format parsed*/
var parseDate = d3.time.format.utc("%d %B %Y %H:%M").parse;

//var parseDate = d3.time.format("%d-%b-%y").parse;

console.log(parseDate("2 August 2014 03:23"))