Skip to content

Commit

Permalink
Update script.js
Browse files Browse the repository at this point in the history
Removing whitespace between $ and /y
  • Loading branch information
ericbenwa authored Dec 12, 2024
1 parent 4c66dc9 commit 3e1c668
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script.js
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ function drawTreeMap(data, transition = false) {
.attr("class", "node-text-enrolled")
.style("text-anchor", "middle")
.style("font-size", smallFontSize + 'px')
.text(`$${d.data.roundSpend} /y`)
.text(`$${d.data.roundSpend}/y`)
.call(wrapText, d.x1 - d.x0 - padding * 2); // Add spending text
});
}
Expand Down

0 comments on commit 3e1c668

Please sign in to comment.