D3.js Not Using All Of The Data Points
I am using D3.js for making a simple visualization of facebook group data. In order to make this visualization I am using the data from the facebook graph api which I am saving as
Solution 1:
The problem is that you have g
elements in your SVG already when making the selection. Some of the data gets bound to those elements and therefore doesn't show up in the .enter()
selection. More details in this tutorial.
I've fixed your code by assigning a class to the g
elements here.
Post a Comment for "D3.js Not Using All Of The Data Points"