Skip to main content

Ivan Teoh

Something personal yet public

176-step2.js

(Source)

1
2
3
4
5
function randomData() {
    return d3.range(10).map(function(i) {
        return {x: i / 9, y: Math.random()};
    });
}