5

I saw the cubism graphs and they are simply amazing. I have a big JSON file with 1000 entries that have a timestamp and a value (integer). Can Cubism graph those or not?! I can't seem to find documentation on this...

VividD
  • 10,456
  • 6
  • 64
  • 111
abisson
  • 4,365
  • 9
  • 46
  • 68

1 Answers1

14

Cubism is generally intended for realtime data, but you can implement a metric that simply returns static values from a JSON file. Typically you do this by using context.metric. See the stocks demo in the Cubism intro talk for an example.

mbostock
  • 51,423
  • 13
  • 175
  • 129