I am working on Vue project with d3js and Typescript. I wanted to draw a heatmap but I get an error at when I wanted to call x() or y() function in
x()
y()