Closed eckhchri closed 8 years ago
https://github.com/mbostock/d3/wiki/Selections#data
When data is assigned to an element, it is stored in the property data (defined by D3), thus making the data "sticky" so that it is available on re-selection. und A key function key([ d [, i ]]) may be specified to control how data is joined to elements (this replaces the default by-index behavior).
Solved by commit https://github.com/eckhchri/pcars-ds-liveview/commit/cd39bddb1389c6d34732fb349a637fa9693fc098
root cause: mixed up of variable RacePos(now named GridPosition) and RacePosition.
Maybe a side effect off disbaling this.draw() calls within this.update() function.