()
| 47 | } |
| 48 | |
| 49 | plotData () { |
| 50 | this.calculateRadiusDomain(); |
| 51 | this.r().range([this.MIN_RADIUS, this.xAxisLength() * this.maxBubbleRelativeSize()]); |
| 52 | |
| 53 | const data = this.data(); |
| 54 | let bubbleG = this.chartBodyG().selectAll(`g.${this.BUBBLE_NODE_CLASS}`) |
| 55 | .data(data, d => d.key); |
| 56 | if (this.sortBubbleSize() || this.keyboardAccessible()) { |
| 57 | // update dom order based on sort |
| 58 | bubbleG.order(); |
| 59 | } |
| 60 | |
| 61 | this._removeNodes(bubbleG); |
| 62 | |
| 63 | bubbleG = this._renderNodes(bubbleG); |
| 64 | |
| 65 | this._updateNodes(bubbleG); |
| 66 | |
| 67 | this.fadeDeselectedArea(this.filter()); |
| 68 | } |
| 69 | |
| 70 | _renderNodes (bubbleG) { |
| 71 | const bubbleGEnter = bubbleG.enter().append('g'); |
nothing calls this directly
no test coverage detected