Getting a basic map to display on the screen was a huge win. Just for reference, I completely bombed on Mike Bostock’s Let’s Make a Map tutorial… I just couldn’t get through it. But, luckily, a lot of the files that were being created and manipulated in that tutorial are available somewhere on the web, I just needed to find them. Using this example as a template, I arrived at a sharp, zoomable map of the US with circles indicating each destination city (I ended up using a different zoom style). Next, tooltips.
Displaying the tooltips was easy – getting them to display when a user zoomed in was fucking painful. I used tons of resources and many hours to try and figure out why when I zoomed in, the tooltips would die. Everything worked great on my local copy and on bl.ocks.org, but not inside this WordPress blog. In fact, I wrote those last three sentences in past tense, but I’m still working on this. In the mean time, I’ve displayed the current broken version below as a reference while I’m looking for this last piece of the puzzle.
It turns out that in this instance the map was not very useful for understanding vendor deconsolidation or how to price the opportunity. In fact, this cross-dock wikipedia site combined with aggregated data tables and some summary statistics were enough to get me started. But, I think I’m more excited about the map…