Debug: internal, implementation, error
TypeError: Uncaught error: Cannot read property 'createElementNS' of undefined
at Object.d3.transform (/Users/Isaiah/Desktop/Coding/pdp/repo/pdp/node_modules/d3/d3.js:5946:24)
at d3_interpolateTransform (/Users/Isaiah/Desktop/Coding/pdp/repo/pdp/node_modules/d3/d3.js:6050:12)
at HTMLUnknownElement.<anonymous> (/Users/Isaiah/Desktop/Coding/pdp/repo/pdp/node_modules/d3/d3.js:8755:32)
at d3_Map.<anonymous> (/Users/Isaiah/Desktop/Coding/pdp/repo/pdp/node_modules/d3/d3.js:8946:27)
at d3_Map.d3_class.forEach (/Users/Isaiah/Desktop/Coding/pdp/repo/pdp/node_modules/d3/d3.js:341:33)
at start (/Users/Isaiah/Desktop/Coding/pdp/repo/pdp/node_modules/d3/d3.js:8945:24)
at Object.schedule (/Users/Isaiah/Desktop/Coding/pdp/repo/pdp/node_modules/d3/d3.js:8913:36)
at d3_timer_mark (/Users/Isaiah/Desktop/Coding/pdp/repo/pdp/node_modules/d3/d3.js:2166:35)
at Timeout.d3_timer_step [as _onTimeout] (/Users/Isaiah/Desktop/Coding/pdp/repo/pdp/node_modules/d3/d3.js:2147:15)
at tryOnTimeout (timers.js:224:11)
at Timer.listOnTimeout (timers.js:198:5)
On nv 1.8.4, d3 1.5.7.
The exact same code is used to make pie charts (except for the discrete-specific names), but pies work and discrete fails.
On nv 1.8.4, d3 1.5.7.
The exact same code is used to make pie charts (except for the discrete-specific names), but pies work and discrete fails.
Specifically:
Pie:
^ this works.
Discrete:
^ this does not, and throws the above error.