An example of d3.layout.timeline that shows wars the United States has been involved in during its first 100 years (from Wikipedia). Events have been categorized and rendered in separate lanes for colonial wars, native wars, internal wars, wars involving European powers, and wars in Latin America.
forked from emeeks's block d3.layout.timeline categorized timelines, updated to version 4 of D3.
https://d3js.org/d3.v4.min.js