A d3.js demo with TSP
So I learned about a cool javascript library (d3.js) to do visualizations. Its very cool, check it out if you haven’t yet. I wanted to try it out, so I made a Traveling Salesman Problem solver. You can check out the demo and the source code.
The code isn’t beautiful, but I wrote the whole thing in 3 hours after I go home from the BmoreJS Meetup on d3.js. The algorithm it uses is a basic version Simulated Annealing, straight from Kirkpatrick et al..