Skip to main content
100%

d3 to three

✓ Published0🌍 Public
SSaminu
Last edited Jan 18, 2017
Created on Jan 18, 2017

An interactive 3D globe displays a list of people with their photos and Twitter handles; selecting a person or choosing "Show All" rotates the globe to highlight their geolocated cities. D3 generates the globe's texture from TopoJSON country data and handles UI transitions and scroll tweening, while Three.js renders the WebGL scene. The example adapts Mike Bostock's World Tour and Steve Hall's WebGL globe approach.

AI-generated description

Pictures are a scrollable ul; select "Show All" in the select box to scroll thru all people.

textures for three mesh are generated with topojson and d3

d3 is used for transitions and interpolation

three.js renders the globe

adapted from Mike Bostock's World Tour

and Steve Hall's Interactive WebGL Globes with THREE.js and D3

Tested on os x Mavericks Chrome, Safari, Firefox.

"Show All" sporadically crashes in Chrome Beta on my KitKat Android phone.

forked from <a href='http://bl.ocks.org/kenpenn/'>kenpenn</a>'s block: <a href='http://bl.ocks.org/kenpenn/16a9c611417ffbfc6129'>d3 to three</a>

mit Licensed

Similar vizzes