Error: <g> attribute conversion: trailing garbage, "translate (0, NaN)" to dc.js cleanup

The goal of my code is to use a range chart (histogram) that shows the number of data sets created in years to draw focus on a graph (line chart). The focus schedule then displays the score on a monthly basis. My code is here . It seems to work fine when I select a large range through the brush. However, when I select a small range, for example: 1 or 2 bars, it shows me the following error

Error: <g> attribute transform: Trailing garbage, "translate(0,NaN)". d3.v3.min.js:4 

In addition, it also does not filter the focus diagram. I will appreciate any help

+6
source share

All Articles