It's not brilliant and most of the code is reused from various other sources but it is a success.
Not wanting to get ahead of myself, I am pretty happy because I have had to solve a lot of little issues.
Some of the issues:
- Turning locations from students into longitude and latitude. This was solved by http://www.findlatitudeandlongitude.com/batch-geocode/#.U5sIXJRdU1c
- Not allowed to access local data. This was solved by putting the files on dropbox. Probably makes things a bit too public. There are other ways to solve this problem but I can do it right now.
- Working out which map to use - eventually I down loaded it from git and put it on dropbox.
- I have to acknowledge:
- Let's Make a Map - bost.ocks.org/mike/map/
- d3noobs code - bl.ocks.org/d3noob/519723
- Mikes World Map - bl.ocks.org/mbostock/4180634
- dashingd3 for fundamentals - www.dashingd3js.com
- d3noobs leaflet - www.d3noob.org/2013/03/a-simple-d3js-map-explained.html
I have sent the link off to Sam for comment.
Happy for now....
Next step is to add some information when I put the mouse over the dots, I think.
Some good advice about that here: www.d3noob.org/2013/01/adding-tooltips-to-d3js-graph.html
No comments:
Post a Comment