I am trying to create a realtime line graph in D3. My data is in the format of [[Date, value], [Date, value]. When I don’t receive any data the value will be 0. I would like the line to break for these values so they are not plotted. I would then get gaps in my graph where I am missing data.
Anyone have any ideas how I would do this?
You could easily do this by creating several plots on a single set of axis. Each continuos sets of data would be a separate plot. Then just make sure you assign them all the same colour etc.