Sparse and missing data
Sparse data can be really tricky to represent when dealing with real time data —especially as you don't know when it will be sparse or dense, or even both in one representation.
These examples look at views with the same data. A chart showing reading per minute but the dataset doesn't have values for each minute; they would be zero.
This example takes from this super article Padding for zero values but uses the difference of the start and end time to create an array to map to, instead of using the ticks()
The charts are rendered using the awesome [D3 Financial Components (D3FC)](https://github.com/ScottLogic/d3-financial-components`
Modified http://dev.eesur.com/d3fc/Layout.js to a secure url
Modified http://dev.eesur.com/d3fc/d3-financial-components.min.js to a secure url
https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.5/d3.min.js
https://dev.eesur.com/d3fc/Layout.js
https://dev.eesur.com/d3fc/d3-financial-components.min.js
https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.10.3/moment.min.js
https://cdnjs.cloudflare.com/ajax/libs/lodash.js/3.9.0/lodash.min.js