Fix: remove broken .replace() call causing TypeError in RateDensityRidgeline
Deploy to git-pages / deploy (push) Successful in 12s

This commit is contained in:
2026-08-10 16:56:29 -04:00
parent c32aa46f7c
commit fc0b7e9b6d
-3
View File
@@ -236,9 +236,6 @@ export default function RateDensityRidgeline({ quadData, rateByGroup }) {
.attr('fill', colors.ink) .attr('fill', colors.ink)
.attr('font-weight', 500)) .attr('font-weight', 500))
// Adjust y-axis label text (handle newlines)
svg.selectAll('.tick text')
.text(d => d.replace('/\n', ' '))
// Legend // Legend
const legend = svg.append('g') const legend = svg.append('g')