This is a mouthful of a title,
basically I am wondering if I can have
update => update
.attr('y', d => y(Number(d.score)))
.attr('width', x.bandwidth())
.attr('height', d => height - y(Number(d.score)))
if (updateColor)
{
update
.style('fill', 'black');
console.log(updateColor);
}
It doesn’t throw an error but it also doesn’t work haha.
many thanks for any tips!