minimal cubism.js horizon chart example (TypeError: callback is not a function)
问题 I'm having a devil of a time going from any code found on the d3 and cubism API pages to altering things to work with what I need them to do... I'm trying to follow the steps for a Horizon graph as listed here https://github.com/square/cubism/wiki/Horizon but I don't have a Cube or Graphite data source. So I'm trying to make a minimal example metric from mbostock's answer here Using Other Data Sources for cubism.js and/or the random-value-returning metric example here https://github.com