D3 question - Why no elements? [NOT SOLVED BUT MOVED ON]

D3 question - Why no elements? [NOT SOLVED BUT MOVED ON]
0

#1

Confused again:

const testSet = [{"temp":-4},{"temp":-3},{"temp":-2},{"temp":-1},{"temp":0}];

const keyLabels = chart.selectAll("text")
    .data(testSet)
    .enter()
    .append("text");

Yet nothing appears :frowning:
I would expect 5 empty <text></text> elements to appear.


#2

Never figured it out so I improvised.