Currently, the D3 transition of this bar starts from left to right, I think this is the default.
How can I start the transition from right to left? Here's my transition:
https://jsfiddle.net/kxg9x4gq/39/
var svg = d3.select("#foo")
var bar = svg.append("g")
.attr("transform", "translate(20,20)")
bar.append("rect")
.attr("height", 15)
.transition().duration(700)
.attr("width", 400)
source
share