diff --git a/test/ballot-status-race.html b/test/ballot-status-race.html
index 97c19bda5a..97a1123e2d 100644
--- a/test/ballot-status-race.html
+++ b/test/ballot-status-race.html
@@ -81,7 +81,7 @@
y: "race"
},
marks: [
- Plot.barX(rollup, {x: "percent", y: "status", fill: "status", title: d => (+d["percent"]).toFixed(1)+"%"}),
+ Plot.barX(rollup, {x: "percent", y: "status", fill: "status", title: d => `${d.percent.toFixed(1)}%`}),
Plot.ruleX([0])
]
}));