Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- svg.append("g").selectAll("text")
- .data(d3.range(0, age1 + 5, 5))
- .enter().append("text")
- .attr("text-anchor", "middle")
- .attr("transform", function(d) { return "translate(" + (x(d) + x(5) / 2) + ",-4)scale(-1,-1)"; })
- .attr("dy", ".71em")
- .text(String);
Add Comment
Please, Sign In to add comment