Show HN: Weekend project, D3.js Globe of Recent Earthquakes
boydgreenfield.com
Show HN: Weekend project, D3.js Globe of Recent Earthquakes
1–10 of 31 posts
Re: Show HN: Weekend project, D3.js Globe of Recent Earthquakes
#2Nice project though, as a geo guy who's been meaning to play with D3, it's inspiring.
Re: Show HN: Weekend project, D3.js Globe of Recent Earthquakes
#3This looks beautiful, but it doesn't release my mouse click on Chrome; i.e. when I click on the globe to click & drag, the rotation of the globe keeps following my mouse, and I can't click the "play" button. Nice project though, as a geo guy who's been meaning to play with D3, it's inspiring.
Particularly with high latency, it will sometimes fail to load the JSONP from the USGS. Because JSONP is a and I'm not properly catching the thrown error that causes D3 to bug out. I'm trying to get USGS to let me use CORS with the JSON files so I don't have to deal with the callback function of JSONP.
Oh - and refreshing the page should fix that! Thanks, and glad you like it.
Re: Show HN: Weekend project, D3.js Globe of Recent Earthquakes
#4This looks beautiful, but it doesn't release my mouse click on Chrome; i.e. when I click on the globe to click & drag, the rotation of the globe keeps following my mouse, and I can't click the "play" button. Nice project though, as a geo guy who's been meaning to play with D3, it's inspiring.
Re: Show HN: Weekend project, D3.js Globe of Recent Earthquakes
#5This looks beautiful, but it doesn't release my mouse click on Chrome; i.e. when I click on the globe to click & drag, the rotation of the globe keeps following my mouse, and I can't click the "play" button. Nice project though, as a geo guy who's been meaning to play with D3, it's inspiring.
Yeah... that's a bug that I haven't been able to squash yet. Particularly with high latency, it will sometimes fail to load the JSONP from the USGS. Because JSONP is a and I'm not properly catching the thrown error that causes D3 to bug out. I'm trying to get USGS to let me use CORS with the JSON files so I don't have to deal with the callback function of JSONP. Oh - and refreshing the page should fix that! Thanks, a…
Re: Show HN: Weekend project, D3.js Globe of Recent Earthquakes
#6Earlier quoted context omitted.
Yeah... that's a bug that I haven't been able to squash yet. Particularly with high latency, it will sometimes fail to load the JSONP from the USGS. Because JSONP is a and I'm not properly catching the thrown error that causes D3 to bug out. I'm trying to get USGS to let me use CORS with the JSON files so I don't have to deal with the callback function of JSONP. Oh - and refreshing the page should fix that! Thanks, a…
Also if you flip it upside down (drag over a pole) the side to side turns backwards.
All of this can be changed in the JS parameters easily enough, however.
Re: Show HN: Weekend project, D3.js Globe of Recent Earthquakes
#7It doesn't always auto play, and clicking play/pause doesn't make it work (happened twice to me in five refreshes on Chrome).
When it said "Highlight an earthquake..." I was nervous I would have to follow those little circles with my mouse while trying to read the information, but it works well!
The earth quake zones just popping into view looks a little goofy. Is there any way to fade them in, or have them start as a line and transform into a circle (going through an ellipse). That might make it look a little cleaner on entry/exit.
Great work!
Re: Show HN: Weekend project, D3.js Globe of Recent Earthquakes
#8Really nice. It doesn't always auto play, and clicking play/pause doesn't make it work (happened twice to me in five refreshes on Chrome). When it said "Highlight an earthquake..." I was nervous I would have to follow those little circles with my mouse while trying to read the information, but it works well! The earth quake zones just popping into view looks a little goofy. Is there any way to fade them in, or have t…
Re: Show HN: Weekend project, D3.js Globe of Recent Earthquakes
#9Re: Show HN: Weekend project, D3.js Globe of Recent Earthquakes
#10Really nice. It doesn't always auto play, and clicking play/pause doesn't make it work (happened twice to me in five refreshes on Chrome). When it said "Highlight an earthquake..." I was nervous I would have to follow those little circles with my mouse while trying to read the information, but it works well! The earth quake zones just popping into view looks a little goofy. Is there any way to fade them in, or have t…
Let me know -- and I'd love to hear if anybody has suggestions for better catching JSONP callback-related errors.