d3.brush() is pretty cool but it's a little tricky to apply to an ordinal scale. Here's the lowdown: https://github.com/mbostock/d3/wiki/SVG-Controls
Experimental timeline based upon bunkat's "Swimlane Chart using d3.js" http://bl.ocks.org/bunkat/1962173
A Pen by chris-creditdesign on CodePen.
A Pen by chris-creditdesign on CodePen.
A Pen by chris-creditdesign on CodePen.
browser-sync start --server --files "*.js"
#Exploring the Global Terrorism Database
I would like to work with the Global Terrorism Database (GTD), an open-source database including information on terrorist events around the world from 1970 through 2013 provided by the National Consortium for the Study of Terrorism and Responses to Terrorism at the University of Maryland.
Source: Global Terrorism Database (GTD)
Data and data wrangling process via this gist: https://gist.github.com/chris-creditdesign/e07ff4ab3d879396f2a1
Build with d3.js
Source: Global Terrorism Database (GTD)
Data and data wrangling process via this gist: https://gist.github.com/chris-creditdesign/e07ff4ab3d879396f2a1
Build with d3.js
Source: Global Terrorism Database (GTD)
Data and data wrangling process via this gist: https://gist.github.com/chris-creditdesign/e07ff4ab3d879396f2a1
Build with d3.js
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <title>D3 bouncing ball</title> | |
| <script src="http://d3js.org/d3.v3.min.js" charset="utf-8"></script> | |
| <style></style> | |
| </head> | |
| <body> |
| .DS_Store | |
| build/ | |
| node_modules |