d3 tr
by Shang-De You
JavaScript
var svg = d3.select("body").append("svg")
.attr("width", 400)
.attr("height", 200)
svg.append("rect")
.attr("fill", "steelblue")
.attr("x", 10)
.attr("y", 10)
.attr("width", 100)
.attr("height", 30)
.transition()
.duration(500)
.ease("bounce")
.attr("width", 300)