Histogram Example Bug

19 views
Skip to first unread message

Dimitry Kudryavtsev

unread,
May 21, 2018, 5:16:06 PM5/21/18
to d3-js
Looking at the few Histogram Example it seems like anything that falls into the last bin will not be displayed, in fact there is error that is thrown because d3.histogram, when creating x1 and x0 for the last bin will be the same value unlike the other bins.

Error
Error: <rect> attribute width: A negative value is not valid. ("-1")

Examples looked at 

Clear example of the Error






Reply all
Reply to author
Forward
0 new messages