d3.js-book-examples
d3.js-book-examples copied to clipboard
histogram.js height fix
Rendering without setting the height to zero makes the bars have a non-zero height which looks strange before the transition starts (Firefox 16.0.2) Setting the height attribute fixes this. Also changed the y attribute to use the scale instead of the hardcoded value.