score:1

Accepted answer

there's no magic in d3 that auto-updates elements. you need to do it yourself by re-binding the data and updating the values. in your situation:

cells.data(function(d){return d3.values([d.team, +d.priors, +d.in_season, +d.blend]);})
  .select("text")
  .text(function(d) {return d});

updated fiddle.


Related Query

More Query from same tag