Using d3

with Backbone, Angular and Ember


an example of bad code

An example of bad code


text: $(this).find('textarea').val()

Instead, use a model  


 $('#statuses').append('<li>' + data.text + '</li>');

Instead, use a directive


 $.ajax({url: '/statuses', success: function(data)  {...}

Instead, use a route

costs and benefits

of frameworks

Where does d3 fit in?

Data vis is becoming prominent:

  • Square
  • Localytics
  • Plotly
  • Addepar...