Home > three_d.js > Examples

Tick formats example

For this plot I grabbed some data by federal electorate – approximate median personal income, average population density, and the year-12 completion rate for people aged 18-29 – from the 2011 Australian Census (which I'd earlier prepared for some maps).

Mouse controls: Left-click and drag to rotate; alt (Mac)- or ctrl (Windows)-click-drag or middle-click-drag to pan; scroll or shift-click-drag to zoom. Touch screen controls: one finger to rotate; two-finger scroll to pan; pinch to zoom.

You can see how the plot is constructed in the HTML source.

Data and R script to make the basic JavaScript are here; the code sources my main JS-writing function write_three_d.R.

Posted 2016-10-02.


Home > three_d.js > Examples