Skip to content
Time series

Slopegraph

Each series' value at two time points joined by a single line, with endpoint confidence intervals, automatic top-mover labeling with collision-managed endpoint labels, and per-series focus. Use it to show direction and magnitude of change at a glance — movement, not a ranking.

Theme
Installshow
viz add d3/timeseries/slopegraph-v1
Usageshow
TypeScript
import Component from '@/viz/components/d3/timeseries/slopegraph-v1';

Metadata

  • FrameworkD3 / SVG
  • CategoryTime series
  • Subcategorybrfss
  • Sourced3/timeseries/slopegraph-v1
slopegraph two-period change states

Dependencies

d3-scale