D3OG
Old school D3 from simpler times
D3 v3 cumulative time-series line chart showing gaps in data
Option B
cumulative line chart, with gaps in data shown as dotted lines
PROS:
- missing data clearly differentiated.
CONS:
- data points with missing data the month before and after are 'hidden' (e.g. May 2014).
- difficult to notice spikes or trends in views/downloads.
Features:
- gaps in data shown with dotted line
- mini 'brush' chart shows the context of the data in focus in the main chart
- x-axis zooming and panning is limited to the range of available data
- y-axis resizes automatically to match the maximum y-value of the data in focus
- buttons zoom focus to an interval equal to one year (if sufficient data), one month, or the range of the data
- text at top changes to indicate the range of data in focus
- when no data is available, displays text instead
- sorts data by date
https://cdnjs.cloudflare.com/ajax/libs/underscore.js/1.9.1/underscore-min.js
https://d3js.org/d3.v3.min.js