I’m doing some form of data visualization learning for 180 days because I need to #JFDI.

See post explaining how and why I’m doing this.

Code Learning:

Udacity Data Visualization and D3.js DimpleJS lectures

  • + is called unary operator that converts into numeric form
  • Use debugger to view data transformations, eg. looking at d, d[‘date’], d.attendance, and you can also use booleans to check types
  • Example of date and string transformation:
    • d3.tsv(“world_cup_geo.tsv”, function(d) {
      • d[‘date’] = format.parse(d[‘date’]);
      • d[‘attendance’] = +d[“attendance”];
      • return d; }, draw);
Posted in , , ,

Leave a Reply