Skip to main content
100%

timeline - trend, confidence interval, outliers

✓ Published0🌍 Public
KKcnarf
Last edited Dec 3, 2018
Created on Jan 11, 2016

This interactive example demonstrates how a trend line and its 95% confidence interval respond to changes in time-series data. Users can drag individual data points to see their immediate impact on both the trend and the confidence interval, or drag the entire timeline to show that time-axis shifts have no effect. The visualization also provides controls to increase or decrease data dispersion, which alters the confidence interval but not the trend, and to force an outlier. The trend is computed using the least squares method, with the confidence interval based on ±1.96 standard deviations. Built with D3 v3.5.5, the SVG rendering uses `d3.behavior.drag` for interactions and transitions for smooth animations.

AI-generated description

An example of how to draw a trend line with it's 95%-CI (Confidence Interval of 95%).

Usages :

  • Drag & Drop each point to see the impact on the trend line and 95%-CI
  • Drag & Drop the timeline to see that this has no impact nor on the trend, nor on the 95%-CI
  • increase or decrease the dispersion of the time serie to see that this impacts the 95%-CI, but not the trend
  • points outside a confidence interval may be considered outliers; they are important points, and finding the root/business cause of such points may be crucial (even if they may be the consequence of evidence (eg. increase of sell due to a discount)).

Notes:

  • trend line computed using least square method
  • 95%-CI computed using +/- 1,96*standard deviation; other intervals (e.g. 99%-CI) can be used

Acknowledgments:

  • done with D3 v3.5.5
  • <a href='http://blockbuilder.org'>blockbuilder.org</a>
mit Licensed

Similar vizzes