We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d77f58f commit 15d04afCopy full SHA for 15d04af
base.js
@@ -86,7 +86,7 @@ function createChart(data) {
86
.attr("y", function (d) {
87
return areaHeight - 15;
88
})
89
- .style("width", bandScale.bandwidth)
+ .style("width", bandScale.bandwidth())
90
.style("fill", "black")
91
.style("font-size", areaWidth / data.length / 3)
92
.style("font-family", "sans-serif")
@@ -108,6 +108,6 @@ function swapBar(data) {
108
.duration(750)
109
.selectAll("text")
110
.attr("x", function (d) {
111
- return bandScale(d) + 5;
+ return bandScale(d) + 10;
112
});
113
}
0 commit comments