d3.js-book-examples icon indicating copy to clipboard operation
d3.js-book-examples copied to clipboard

histogram.js height fix

Open carolinux opened this issue 11 years ago • 0 comments

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.

carolinux avatar Jun 02 '14 14:06 carolinux