I am trying to display the values of an array, but for some reason it shows only NaN... can somebody help with the job? thanks in advance.
<td>
<div class="values">
{{ value1 }}
</div>
</td>
<td>
<div class="values">
{{ value2 }}
</div>
</td>
<td>
<div class="values">
{{ value3 }}
</div>
</td>
var data = d3.selectAll('.values').nodes();
console.log(data);
var pie = d3.pie() //we create this variable, for the values to be readeable in the console
.value(function(d) {return d.value; })(data);
console.log(pie);
{{ Value1 }}, {{ Value2 }} and {{ Value 3 }} are being deployed correctly, this is a picture from the html:

