recharts.
One timeline, two views
Move across either chart. Both tooltips follow the same date.
Requests
Response time
View data
| Day | Requests | Latency (ms) |
|---|---|---|
| Oct 1 | 16,600 | 142 |
| Oct 2 | 21,900 | 154 |
| Oct 3 | 18,800 | 148 |
| Oct 4 | 25,800 | 182 |
| Oct 5 | 28,200 | 176 |
| Oct 6 | 19,700 | 136 |
| Oct 7 | 22,900 | 151 |
| Oct 8 | 26,600 | 164 |
| Oct 9 | 30,700 | 189 |
| Oct 10 | 29,100 | 172 |
| Oct 11 | 32,700 | 183 |
| Oct 12 | 35,200 | 196 |
| Oct 13 | 27,900 | 162 |
| Oct 14 | 30,400 | 168 |
Try it
Move across either chart. Both tooltips follow the same date, while each chart keeps its own scale and unit. Narrow the range with the brush under the response-time chart. Both plots zoom to that range. Use the arrow keys when a brush handle is focused.Code
synchronized-charts.jsx
Key props
These datasets have matching dates and indexes. If your datasets differ, check
syncMethod before sharing a group.