score:3

Accepted answer

You have to set the radii of the circles, otherwise it defaults to zero (actually, null):

update.enter()
    .append('circle')
    .attr('class', 'dot')
    .attr("r", someValue)//set the radius here
    .attr('cx', (d : any) => {return this.xScale(d[0])})
    .attr('cy', (d:any) =>{return this.yScale(d[1])})
    .style('fill', (d:any, i:any) => { console.log(d); return this.colors(i)});

Related Query

More Query from same tag