Skip to content

Commit

Permalink
cleaner title text
Browse files Browse the repository at this point in the history
Co-authored-by: Mike Bostock <[email protected]>
  • Loading branch information
Fil and mbostock committed Dec 22, 2020
1 parent 87e545c commit 5385b8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/ballot-status-race.html
Original file line number Diff line number Diff line change
Expand Up @@ -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])
]
}));
Expand Down

0 comments on commit 5385b8d

Please sign in to comment.