block by emeeks 3184af35f4937d878ac0

d3.layout.timeline categorized timelines

Full Screen

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.

index.html

d3.layout.timeline.js

wars.csv