Skip to content

Instantly share code, notes, and snippets.

Avatar

Irene Ros iros

View GitHub Profile
View keybase.md

Keybase proof

I hereby claim:

  • I am iros on github.
  • I am iros (https://keybase.io/iros) on keybase.
  • I have a public key whose fingerprint is 2A1B B71B 5334 5D89 2C10 A32D 9F72 C654 BE93 884C

To claim this, I am signing this object:

@iros
iros / 01.approach-1.js
Last active Aug 29, 2015
d3 + canvas, approaches code snippets
View 01.approach-1.js
var base = d3.select("#vis");
var chart = base.append("canvas")
.attr("width", 400)
.attr("height", 300);
var context = chart.node().getContext("2d");
var data = [1,2,13,20,23];
var scale = d3.scale.linear()
.range([10, 390])