Using d3
with Backbone, Angular and Ember
architecture
an example of bad code
http://opensoul.org/2012/05/16/the-plight-of-pinocchio/
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
-
Chart.io
-
Plotly
-
Addepar...