Last active
March 28, 2016 03:00
-
-
Save luluwuluying/656a43c441b82549cd04 to your computer and use it in GitHub Desktop.
Week 9: JS homework
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<!-- Modification of Mike Bostock's code in http://bl.ocks.org/mbostock/1157787 --> | |
<meta charset="utf-8"> | |
<style> | |
body { | |
font: 10px sans-serif; | |
margin: 20px; | |
padding: 20px; | |
} | |
.line { | |
fill: none; | |
stroke: #666; | |
stroke-width: 1.5px; | |
} | |
.area { | |
fill: #e7e7e7; | |
} | |
.label { | |
fill: steelblue; | |
} | |
</style> | |
<body> | |
<h1>Road injury accidents happened all over the world.</h1> | |
<p>Source:OECD. This chart shows total number of road casualties (killed+injured) all over the world from 2000 to 2011</p> | |
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.6/d3.min.js"></script> | |
<script> | |
var fullwidth = 250, | |
fullheight = 69; | |
var margin = {top: 25, right: 10, bottom: 20, left: 40}, | |
width = fullwidth - margin.left - margin.right, | |
height = fullheight - margin.top - margin.bottom; | |
var formatDate = d3.time.format("%Y"); | |
var x = d3.time.scale() | |
.range([0, width]); | |
var y = d3.scale.linear() | |
.range([height, 0]); | |
var area = d3.svg.area() | |
.x(function(d) { return x(d.date); }) | |
.y0(height) | |
.y1(function(d) { return y(d.Amount); }); | |
var line = d3.svg.line() | |
.x(function(d) { return x(d.date); }) | |
.y(function(d) { return y(d.Amount); }); | |
d3.csv("roadaccidents.csv", typeFix, function(error, data) { | |
//typeFix is a function that parses the dates and sets the strings to numeric. See below! | |
console.log("data after load", data); | |
// Nest data by symbol. | |
var countries = d3.nest() | |
.key(function(d) { return d.Country; }) | |
.sortValues(function(a,b) {return a.date - b.date;}) | |
.entries(data); | |
// Compute the maxValue per country -- for the y axis | |
countries.forEach(function(s) { | |
s.maxValue = d3.max(s.values, function(d) { return +d.Amount; }); | |
}); | |
console.log(countries); | |
// Compute the minimum and maximum date across symbols. | |
// We assume values are sorted by date. | |
x.domain([ | |
d3.min(countries, function(s) { return s.values[0].date; }), | |
d3.max(countries, function(s) { return s.values[s.values.length - 1].date; }) | |
]); | |
// Add an SVG element for each symbol, with the desired dimensions and margin. | |
var svg = d3.select("body").selectAll("svg") | |
.data(countries) | |
.enter().append("svg") | |
.attr("width", fullwidth) | |
.attr("height", fullheight) | |
.append("g") | |
.attr("transform", "translate(" + margin.left + "," + margin.top + ")"); | |
// Add the area path elements. Note: the y-domain is set per element. | |
svg.append("path") | |
.attr("class", "area") | |
.attr("d", function(d) { y.domain([0, d.maxValue]); return area(d.values); }); | |
// Add the line path elements. Note: the y-domain is set per element. | |
svg.append("path") | |
.attr("class", "line") | |
.attr("d", function(d) { y.domain([0, d.maxValue]); return line(d.values); }); | |
// Add a small label for the symbol name. | |
svg.append("text") | |
.attr("class", "label") | |
.attr("x", 0) | |
.attr("y", -8) | |
.style("text-anchor", "start") | |
.text(function(d) { return (d.values[0].date); }); | |
svg.append("text") | |
.attr("class", "label") | |
.attr("x", width/2) | |
.attr("y", -8) | |
.style("text-anchor", "middle") | |
.text(function(d) { return d.key; }); | |
svg.append("text") | |
.attr("class", "label") | |
.attr("x", width) | |
.attr("y", -8) | |
.style("text-anchor", "end") | |
.text(function(d) { return (d.values[d.values.length - 1].date);}); | |
// put a dot on last point | |
svg.append("circle") | |
.attr("class", "label") | |
.attr("cx", function(d) {return x(d.values[d.values.length - 1].date);}) | |
.attr("cy", function(d) { y.domain([0, d.maxValue]); return y(d.values[d.values.length - 1].Amount);}) | |
.attr("r", 2); | |
// label the value on the last point | |
svg.append("text") | |
.attr("class", "label") | |
.attr("x", width) | |
.attr("y", function(d) { y.domain([0, d.maxValue]); return y(d.values[d.values.length - 1].Amount);}) | |
.attr("dy", 12) | |
.style("text-anchor", "end") | |
.text(function(d) { return d.values[d.values.length - 1].Amount; }); | |
}); | |
// this function is applied to all the data values on load! | |
function typeFix(d) { | |
d.Amount = +d.Amount; | |
d.date = d.Year; | |
return d; | |
} | |
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
��_COUNTRY" | Country | VARIABLE | Variable | Year | Amount | Flag Codes | Flags | |
---|---|---|---|---|---|---|---|---|
TUR | Turkey | T-ACCI-TOT | Number of road injury accidents | 2000 | 75991 | |||
TUR | Turkey | T-ACCI-TOT | Number of road injury accidents | 2001 | 66243 | |||
TUR | Turkey | T-ACCI-TOT | Number of road injury accidents | 2002 | 65748 | |||
TUR | Turkey | T-ACCI-TOT | Number of road injury accidents | 2003 | 67031 | |||
TUR | Turkey | T-ACCI-TOT | Number of road injury accidents | 2004 | 77008 | |||
TUR | Turkey | T-ACCI-TOT | Number of road injury accidents | 2005 | 87273 | |||
TUR | Turkey | T-ACCI-TOT | Number of road injury accidents | 2006 | 96128 | |||
TUR | Turkey | T-ACCI-TOT | Number of road injury accidents | 2007 | 106994 | |||
TUR | Turkey | T-ACCI-TOT | Number of road injury accidents | 2008 | 104212 | |||
TUR | Turkey | T-ACCI-TOT | Number of road injury accidents | 2009 | 111121 | |||
TUR | Turkey | T-ACCI-TOT | Number of road injury accidents | 2010 | 116804 | |||
TUR | Turkey | T-ACCI-TOT | Number of road injury accidents | 2011 | 131845 | |||
BGR | Bulgaria | T-ACCI-TOT | Number of road injury accidents | 2000 | 6886 | |||
BGR | Bulgaria | T-ACCI-TOT | Number of road injury accidents | 2001 | 6709 | |||
BGR | Bulgaria | T-ACCI-TOT | Number of road injury accidents | 2002 | 6769 | |||
BGR | Bulgaria | T-ACCI-TOT | Number of road injury accidents | 2003 | 6997 | |||
BGR | Bulgaria | T-ACCI-TOT | Number of road injury accidents | 2004 | 7612 | |||
BGR | Bulgaria | T-ACCI-TOT | Number of road injury accidents | 2005 | 8224 | |||
BGR | Bulgaria | T-ACCI-TOT | Number of road injury accidents | 2006 | 8222 | |||
BGR | Bulgaria | T-ACCI-TOT | Number of road injury accidents | 2007 | 8010 | |||
BGR | Bulgaria | T-ACCI-TOT | Number of road injury accidents | 2008 | 8045 | |||
BGR | Bulgaria | T-ACCI-TOT | Number of road injury accidents | 2009 | 7068 | |||
BGR | Bulgaria | T-ACCI-TOT | Number of road injury accidents | 2010 | 6609 | |||
BGR | Bulgaria | T-ACCI-TOT | Number of road injury accidents | 2011 | 6639 | |||
MLT | Malta | T-ACCI-TOT | Number of road injury accidents | 2000 | 12654 | |||
MLT | Malta | T-ACCI-TOT | Number of road injury accidents | 2001 | 13372 | |||
MLT | Malta | T-ACCI-TOT | Number of road injury accidents | 2002 | 14062 | |||
MLT | Malta | T-ACCI-TOT | Number of road injury accidents | 2003 | 13979 | |||
MLT | Malta | T-ACCI-TOT | Number of road injury accidents | 2004 | 15643 | |||
MLT | Malta | T-ACCI-TOT | Number of road injury accidents | 2005 | 15584 | |||
MLT | Malta | T-ACCI-TOT | Number of road injury accidents | 2006 | 15549 | |||
MLT | Malta | T-ACCI-TOT | Number of road injury accidents | 2007 | 16138 | |||
MLT | Malta | T-ACCI-TOT | Number of road injury accidents | 2008 | 15007 | |||
MLT | Malta | T-ACCI-TOT | Number of road injury accidents | 2009 | 14877 | |||
MLT | Malta | T-ACCI-TOT | Number of road injury accidents | 2010 | 13727 | |||
MLT | Malta | T-ACCI-TOT | Number of road injury accidents | 2011 | 14624 | |||
SVK | Slovak Republic | T-ACCI-TOT | Number of road injury accidents | 2000 | 7884 | |||
SVK | Slovak Republic | T-ACCI-TOT | Number of road injury accidents | 2001 | 8181 | |||
SVK | Slovak Republic | T-ACCI-TOT | Number of road injury accidents | 2002 | 7866 | |||
SVK | Slovak Republic | T-ACCI-TOT | Number of road injury accidents | 2003 | 8551 | |||
SVK | Slovak Republic | T-ACCI-TOT | Number of road injury accidents | 2004 | 8443 | |||
SVK | Slovak Republic | T-ACCI-TOT | Number of road injury accidents | 2005 | 7903 | |||
SVK | Slovak Republic | T-ACCI-TOT | Number of road injury accidents | 2006 | 7988 | |||
SVK | Slovak Republic | T-ACCI-TOT | Number of road injury accidents | 2007 | 8500 | |||
SVK | Slovak Republic | T-ACCI-TOT | Number of road injury accidents | 2008 | 8343 | |||
SVK | Slovak Republic | T-ACCI-TOT | Number of road injury accidents | 2009 | 6465 | |||
SVK | Slovak Republic | T-ACCI-TOT | Number of road injury accidents | 2010 | 6570 | |||
SVK | Slovak Republic | T-ACCI-TOT | Number of road injury accidents | 2011 | 5775 | |||
GEO | Georgia | T-ACCI-TOT | Number of road injury accidents | 2000 | 1708 | |||
GEO | Georgia | T-ACCI-TOT | Number of road injury accidents | 2001 | 1937 | |||
GEO | Georgia | T-ACCI-TOT | Number of road injury accidents | 2002 | 2011 | |||
GEO | Georgia | T-ACCI-TOT | Number of road injury accidents | 2003 | 2113 | |||
GEO | Georgia | T-ACCI-TOT | Number of road injury accidents | 2004 | 2936 | |||
GEO | Georgia | T-ACCI-TOT | Number of road injury accidents | 2005 | 3870 | |||
GEO | Georgia | T-ACCI-TOT | Number of road injury accidents | 2006 | 4795 | |||
GEO | Georgia | T-ACCI-TOT | Number of road injury accidents | 2007 | 4946 | |||
GEO | Georgia | T-ACCI-TOT | Number of road injury accidents | 2008 | 6015 | |||
GEO | Georgia | T-ACCI-TOT | Number of road injury accidents | 2009 | 5482 | |||
GEO | Georgia | T-ACCI-TOT | Number of road injury accidents | 2010 | 5099 | |||
GEO | Georgia | T-ACCI-TOT | Number of road injury accidents | 2011 | 4486 | |||
LTU | Lithuania | T-ACCI-TOT | Number of road injury accidents | 2000 | 5807 | |||
LTU | Lithuania | T-ACCI-TOT | Number of road injury accidents | 2001 | 5972 | |||
LTU | Lithuania | T-ACCI-TOT | Number of road injury accidents | 2002 | 6091 | |||
LTU | Lithuania | T-ACCI-TOT | Number of road injury accidents | 2003 | 5965 | |||
LTU | Lithuania | T-ACCI-TOT | Number of road injury accidents | 2004 | 6357 | |||
LTU | Lithuania | T-ACCI-TOT | Number of road injury accidents | 2005 | 6772 | |||
LTU | Lithuania | T-ACCI-TOT | Number of road injury accidents | 2006 | 6588 | |||
LTU | Lithuania | T-ACCI-TOT | Number of road injury accidents | 2007 | 6448 | |||
LTU | Lithuania | T-ACCI-TOT | Number of road injury accidents | 2008 | 4796 | |||
LTU | Lithuania | T-ACCI-TOT | Number of road injury accidents | 2009 | 3805 | |||
LTU | Lithuania | T-ACCI-TOT | Number of road injury accidents | 2010 | 3530 | |||
LTU | Lithuania | T-ACCI-TOT | Number of road injury accidents | 2011 | 3266 | |||
POL | Poland | T-ACCI-TOT | Number of road injury accidents | 2000 | 57331 | |||
POL | Poland | T-ACCI-TOT | Number of road injury accidents | 2001 | 53799 | |||
POL | Poland | T-ACCI-TOT | Number of road injury accidents | 2002 | 53559 | |||
POL | Poland | T-ACCI-TOT | Number of road injury accidents | 2003 | 51078 | |||
POL | Poland | T-ACCI-TOT | Number of road injury accidents | 2004 | 51069 | |||
POL | Poland | T-ACCI-TOT | Number of road injury accidents | 2005 | 48100 | |||
POL | Poland | T-ACCI-TOT | Number of road injury accidents | 2006 | 46876 | |||
POL | Poland | T-ACCI-TOT | Number of road injury accidents | 2007 | 49536 | |||
POL | Poland | T-ACCI-TOT | Number of road injury accidents | 2008 | 49054 | |||
POL | Poland | T-ACCI-TOT | Number of road injury accidents | 2009 | 44196 | |||
POL | Poland | T-ACCI-TOT | Number of road injury accidents | 2010 | 38832 | |||
POL | Poland | T-ACCI-TOT | Number of road injury accidents | 2011 | 40065 | |||
ITA | Italy | T-ACCI-TOT | Number of road injury accidents | 2000 | 256546 | |||
ITA | Italy | T-ACCI-TOT | Number of road injury accidents | 2001 | 263100 | |||
ITA | Italy | T-ACCI-TOT | Number of road injury accidents | 2002 | 265402 | |||
ITA | Italy | T-ACCI-TOT | Number of road injury accidents | 2003 | 252271 | |||
ITA | Italy | T-ACCI-TOT | Number of road injury accidents | 2004 | 243490 | |||
ITA | Italy | T-ACCI-TOT | Number of road injury accidents | 2005 | 240011 | |||
ITA | Italy | T-ACCI-TOT | Number of road injury accidents | 2006 | 238124 | |||
ITA | Italy | T-ACCI-TOT | Number of road injury accidents | 2007 | 230871 | |||
ITA | Italy | T-ACCI-TOT | Number of road injury accidents | 2008 | 218963 | |||
ITA | Italy | T-ACCI-TOT | Number of road injury accidents | 2009 | 215405 | |||
ITA | Italy | T-ACCI-TOT | Number of road injury accidents | 2010 | 211404 | |||
ITA | Italy | T-ACCI-TOT | Number of road injury accidents | 2011 | 205000 | |||
GBR | United Kingdom | T-ACCI-TOT | Number of road injury accidents | 2000 | 242117 | |||
GBR | United Kingdom | T-ACCI-TOT | Number of road injury accidents | 2001 | 236461 | |||
GBR | United Kingdom | T-ACCI-TOT | Number of road injury accidents | 2002 | 228535 | |||
GBR | United Kingdom | T-ACCI-TOT | Number of road injury accidents | 2003 | 219663 | |||
GBR | United Kingdom | T-ACCI-TOT | Number of road injury accidents | 2004 | 213043 | |||
GBR | United Kingdom | T-ACCI-TOT | Number of road injury accidents | 2005 | 203682 | |||
GBR | United Kingdom | T-ACCI-TOT | Number of road injury accidents | 2006 | 204363 | |||
GBR | United Kingdom | T-ACCI-TOT | Number of road injury accidents | 2007 | 188105 | |||
GBR | United Kingdom | T-ACCI-TOT | Number of road injury accidents | 2008 | 176814 | |||
GBR | United Kingdom | T-ACCI-TOT | Number of road injury accidents | 2009 | 169805 | |||
GBR | United Kingdom | T-ACCI-TOT | Number of road injury accidents | 2010 | 160080 | |||
GBR | United Kingdom | T-ACCI-TOT | Number of road injury accidents | 2011 | 157068 | |||
CZE | Czech Republic | T-ACCI-TOT | Number of road injury accidents | 2000 | 25445 | |||
CZE | Czech Republic | T-ACCI-TOT | Number of road injury accidents | 2001 | 26027 | |||
CZE | Czech Republic | T-ACCI-TOT | Number of road injury accidents | 2002 | 26586 | |||
CZE | Czech Republic | T-ACCI-TOT | Number of road injury accidents | 2003 | 27320 | |||
CZE | Czech Republic | T-ACCI-TOT | Number of road injury accidents | 2004 | 26516 | |||
CZE | Czech Republic | T-ACCI-TOT | Number of road injury accidents | 2005 | 25239 | |||
CZE | Czech Republic | T-ACCI-TOT | Number of road injury accidents | 2006 | 22115 | |||
CZE | Czech Republic | T-ACCI-TOT | Number of road injury accidents | 2007 | 23060 | |||
CZE | Czech Republic | T-ACCI-TOT | Number of road injury accidents | 2008 | 22481 | |||
CZE | Czech Republic | T-ACCI-TOT | Number of road injury accidents | 2009 | 21706 | |||
CZE | Czech Republic | T-ACCI-TOT | Number of road injury accidents | 2010 | 19676 | |||
CZE | Czech Republic | T-ACCI-TOT | Number of road injury accidents | 2011 | 20487 | |||
NZL | New Zealand | T-ACCI-TOT | Number of road injury accidents | 2000 | 7830 | |||
NZL | New Zealand | T-ACCI-TOT | Number of road injury accidents | 2001 | 8865 | |||
NZL | New Zealand | T-ACCI-TOT | Number of road injury accidents | 2002 | 10163 | |||
NZL | New Zealand | T-ACCI-TOT | Number of road injury accidents | 2003 | 10615 | |||
NZL | New Zealand | T-ACCI-TOT | Number of road injury accidents | 2004 | 10367 | |||
NZL | New Zealand | T-ACCI-TOT | Number of road injury accidents | 2005 | 10808 | |||
NZL | New Zealand | T-ACCI-TOT | Number of road injury accidents | 2006 | 11293 | |||
NZL | New Zealand | T-ACCI-TOT | Number of road injury accidents | 2007 | 12042 | |||
NZL | New Zealand | T-ACCI-TOT | Number of road injury accidents | 2008 | 11647 | |||
NZL | New Zealand | T-ACCI-TOT | Number of road injury accidents | 2009 | 11125 | |||
NZL | New Zealand | T-ACCI-TOT | Number of road injury accidents | 2010 | 10886 | |||
NZL | New Zealand | T-ACCI-TOT | Number of road injury accidents | 2011 | 9804 | |||
IND | India | T-ACCI-TOT | Number of road injury accidents | 2000 | 391449 | |||
IND | India | T-ACCI-TOT | Number of road injury accidents | 2001 | 405637 | |||
IND | India | T-ACCI-TOT | Number of road injury accidents | 2002 | 407497 | |||
IND | India | T-ACCI-TOT | Number of road injury accidents | 2003 | 406726 | |||
IND | India | T-ACCI-TOT | Number of road injury accidents | 2004 | 429910 | |||
IND | India | T-ACCI-TOT | Number of road injury accidents | 2005 | 439255 | |||
IND | India | T-ACCI-TOT | Number of road injury accidents | 2006 | 460920 | |||
IND | India | T-ACCI-TOT | Number of road injury accidents | 2007 | 479216 | |||
IND | India | T-ACCI-TOT | Number of road injury accidents | 2008 | 484704 | |||
IND | India | T-ACCI-TOT | Number of road injury accidents | 2009 | 486384 | |||
IND | India | T-ACCI-TOT | Number of road injury accidents | 2010 | 499628 | |||
IND | India | T-ACCI-TOT | Number of road injury accidents | 2011 | 497686 | |||
USA | United States | T-ACCI-TOT | Number of road injury accidents | 2000 | 2108000 | |||
USA | United States | T-ACCI-TOT | Number of road injury accidents | 2001 | 2041000 | |||
USA | United States | T-ACCI-TOT | Number of road injury accidents | 2002 | 1967000 | |||
USA | United States | T-ACCI-TOT | Number of road injury accidents | 2003 | 1963000 | |||
USA | United States | T-ACCI-TOT | Number of road injury accidents | 2004 | 1900000 | |||
USA | United States | T-ACCI-TOT | Number of road injury accidents | 2005 | 1855000 | |||
USA | United States | T-ACCI-TOT | Number of road injury accidents | 2006 | 1785000 | |||
USA | United States | T-ACCI-TOT | Number of road injury accidents | 2007 | 1748000 | |||
USA | United States | T-ACCI-TOT | Number of road injury accidents | 2008 | 1664000 | |||
USA | United States | T-ACCI-TOT | Number of road injury accidents | 2009 | 1548000 | |||
USA | United States | T-ACCI-TOT | Number of road injury accidents | 2010 | 1572000 | |||
USA | United States | T-ACCI-TOT | Number of road injury accidents | 2011 | 1530000 | |||
BEL | Belgium | T-ACCI-TOT | Number of road injury accidents | 2000 | 49065 | |||
BEL | Belgium | T-ACCI-TOT | Number of road injury accidents | 2001 | 47444 | |||
BEL | Belgium | T-ACCI-TOT | Number of road injury accidents | 2002 | 47619 | |||
BEL | Belgium | T-ACCI-TOT | Number of road injury accidents | 2003 | 50479 | |||
BEL | Belgium | T-ACCI-TOT | Number of road injury accidents | 2004 | 48670 | |||
BEL | Belgium | T-ACCI-TOT | Number of road injury accidents | 2005 | 49307 | |||
BEL | Belgium | T-ACCI-TOT | Number of road injury accidents | 2006 | 49171 | |||
BEL | Belgium | T-ACCI-TOT | Number of road injury accidents | 2007 | 49794 | |||
BEL | Belgium | T-ACCI-TOT | Number of road injury accidents | 2008 | 48827 | |||
BEL | Belgium | T-ACCI-TOT | Number of road injury accidents | 2009 | 47798 | |||
BEL | Belgium | T-ACCI-TOT | Number of road injury accidents | 2010 | 45918 | |||
BEL | Belgium | T-ACCI-TOT | Number of road injury accidents | 2011 | 47945 | |||
HUN | Hungary | T-ACCI-TOT | Number of road injury accidents | 2000 | 17493 | |||
HUN | Hungary | T-ACCI-TOT | Number of road injury accidents | 2001 | 18505 | |||
HUN | Hungary | T-ACCI-TOT | Number of road injury accidents | 2002 | 19686 | |||
HUN | Hungary | T-ACCI-TOT | Number of road injury accidents | 2003 | 19976 | |||
HUN | Hungary | T-ACCI-TOT | Number of road injury accidents | 2004 | 20957 | |||
HUN | Hungary | T-ACCI-TOT | Number of road injury accidents | 2005 | 20777 | |||
HUN | Hungary | T-ACCI-TOT | Number of road injury accidents | 2006 | 20977 | |||
HUN | Hungary | T-ACCI-TOT | Number of road injury accidents | 2007 | 20635 | |||
HUN | Hungary | T-ACCI-TOT | Number of road injury accidents | 2008 | 19174 | |||
HUN | Hungary | T-ACCI-TOT | Number of road injury accidents | 2009 | 17864 | |||
HUN | Hungary | T-ACCI-TOT | Number of road injury accidents | 2010 | 16308 | |||
HUN | Hungary | T-ACCI-TOT | Number of road injury accidents | 2011 | 15827 | |||
SWE | Sweden | T-ACCI-TOT | Number of road injury accidents | 2000 | 15770 | |||
SWE | Sweden | T-ACCI-TOT | Number of road injury accidents | 2001 | 15796 | |||
SWE | Sweden | T-ACCI-TOT | Number of road injury accidents | 2002 | 16947 | |||
SWE | Sweden | T-ACCI-TOT | Number of road injury accidents | 2003 | 18365 | |||
SWE | Sweden | T-ACCI-TOT | Number of road injury accidents | 2004 | 18029 | |||
SWE | Sweden | T-ACCI-TOT | Number of road injury accidents | 2005 | 18094 | |||
SWE | Sweden | T-ACCI-TOT | Number of road injury accidents | 2006 | 18213 | |||
SWE | Sweden | T-ACCI-TOT | Number of road injury accidents | 2007 | 18548 | |||
SWE | Sweden | T-ACCI-TOT | Number of road injury accidents | 2008 | 18462 | |||
SWE | Sweden | T-ACCI-TOT | Number of road injury accidents | 2009 | 17858 | |||
SWE | Sweden | T-ACCI-TOT | Number of road injury accidents | 2010 | 16500 | |||
SWE | Sweden | T-ACCI-TOT | Number of road injury accidents | 2011 | 16119 | |||
RUS | Russian Federation | T-ACCI-TOT | Number of road injury accidents | 2000 | 157596 | |||
RUS | Russian Federation | T-ACCI-TOT | Number of road injury accidents | 2001 | 164403 | |||
RUS | Russian Federation | T-ACCI-TOT | Number of road injury accidents | 2002 | 184365 | |||
RUS | Russian Federation | T-ACCI-TOT | Number of road injury accidents | 2003 | 204267 | |||
RUS | Russian Federation | T-ACCI-TOT | Number of road injury accidents | 2004 | 208558 | |||
RUS | Russian Federation | T-ACCI-TOT | Number of road injury accidents | 2005 | 223342 | |||
RUS | Russian Federation | T-ACCI-TOT | Number of road injury accidents | 2006 | 229140 | |||
RUS | Russian Federation | T-ACCI-TOT | Number of road injury accidents | 2007 | 233809 | |||
RUS | Russian Federation | T-ACCI-TOT | Number of road injury accidents | 2008 | 218322 | |||
RUS | Russian Federation | T-ACCI-TOT | Number of road injury accidents | 2009 | 203603 | |||
RUS | Russian Federation | T-ACCI-TOT | Number of road injury accidents | 2010 | 199431 | |||
RUS | Russian Federation | T-ACCI-TOT | Number of road injury accidents | 2011 | 199868 | |||
AZE | Azerbaijan | T-ACCI-TOT | Number of road injury accidents | 2000 | 1987 | |||
AZE | Azerbaijan | T-ACCI-TOT | Number of road injury accidents | 2001 | 1985 | |||
AZE | Azerbaijan | T-ACCI-TOT | Number of road injury accidents | 2002 | 2193 | |||
AZE | Azerbaijan | T-ACCI-TOT | Number of road injury accidents | 2003 | 2311 | |||
AZE | Azerbaijan | T-ACCI-TOT | Number of road injury accidents | 2004 | 2388 | |||
AZE | Azerbaijan | T-ACCI-TOT | Number of road injury accidents | 2005 | 3179 | |||
AZE | Azerbaijan | T-ACCI-TOT | Number of road injury accidents | 2006 | 3197 | |||
AZE | Azerbaijan | T-ACCI-TOT | Number of road injury accidents | 2007 | 3104 | |||
AZE | Azerbaijan | T-ACCI-TOT | Number of road injury accidents | 2008 | 2970 | |||
AZE | Azerbaijan | T-ACCI-TOT | Number of road injury accidents | 2009 | 2792 | |||
AZE | Azerbaijan | T-ACCI-TOT | Number of road injury accidents | 2010 | 2721 | |||
AZE | Azerbaijan | T-ACCI-TOT | Number of road injury accidents | 2011 | 2890 | |||
FIN | Finland | T-ACCI-TOT | Number of road injury accidents | 2000 | 6633 | |||
FIN | Finland | T-ACCI-TOT | Number of road injury accidents | 2001 | 6451 | |||
FIN | Finland | T-ACCI-TOT | Number of road injury accidents | 2002 | 6196 | |||
FIN | Finland | T-ACCI-TOT | Number of road injury accidents | 2003 | 6907 | B | Break | |
FIN | Finland | T-ACCI-TOT | Number of road injury accidents | 2004 | 6767 | |||
FIN | Finland | T-ACCI-TOT | Number of road injury accidents | 2005 | 7022 | |||
FIN | Finland | T-ACCI-TOT | Number of road injury accidents | 2006 | 6740 | |||
FIN | Finland | T-ACCI-TOT | Number of road injury accidents | 2007 | 6657 | |||
FIN | Finland | T-ACCI-TOT | Number of road injury accidents | 2008 | 6881 | |||
FIN | Finland | T-ACCI-TOT | Number of road injury accidents | 2009 | 6414 | |||
FIN | Finland | T-ACCI-TOT | Number of road injury accidents | 2010 | 6072 | |||
FIN | Finland | T-ACCI-TOT | Number of road injury accidents | 2011 | 6408 | |||
LVA | Latvia | T-ACCI-TOT | Number of road injury accidents | 2000 | 4482 | |||
LVA | Latvia | T-ACCI-TOT | Number of road injury accidents | 2001 | 4766 | |||
LVA | Latvia | T-ACCI-TOT | Number of road injury accidents | 2002 | 5083 | |||
LVA | Latvia | T-ACCI-TOT | Number of road injury accidents | 2003 | 5379 | |||
LVA | Latvia | T-ACCI-TOT | Number of road injury accidents | 2004 | 5081 | |||
LVA | Latvia | T-ACCI-TOT | Number of road injury accidents | 2005 | 4466 | |||
LVA | Latvia | T-ACCI-TOT | Number of road injury accidents | 2006 | 4302 | |||
LVA | Latvia | T-ACCI-TOT | Number of road injury accidents | 2007 | 4781 | |||
LVA | Latvia | T-ACCI-TOT | Number of road injury accidents | 2008 | 4196 | |||
LVA | Latvia | T-ACCI-TOT | Number of road injury accidents | 2009 | 3160 | |||
LVA | Latvia | T-ACCI-TOT | Number of road injury accidents | 2010 | 3193 | |||
LVA | Latvia | T-ACCI-TOT | Number of road injury accidents | 2011 | 3386 | |||
PRT | Portugal | T-ACCI-TOT | Number of road injury accidents | 2000 | 44159 | |||
PRT | Portugal | T-ACCI-TOT | Number of road injury accidents | 2001 | 42521 | |||
PRT | Portugal | T-ACCI-TOT | Number of road injury accidents | 2002 | 42219 | |||
PRT | Portugal | T-ACCI-TOT | Number of road injury accidents | 2003 | 41495 | |||
PRT | Portugal | T-ACCI-TOT | Number of road injury accidents | 2004 | 38930 | |||
PRT | Portugal | T-ACCI-TOT | Number of road injury accidents | 2005 | 37066 | |||
PRT | Portugal | T-ACCI-TOT | Number of road injury accidents | 2006 | 35680 | |||
PRT | Portugal | T-ACCI-TOT | Number of road injury accidents | 2007 | 35311 | |||
PRT | Portugal | T-ACCI-TOT | Number of road injury accidents | 2008 | 33613 | |||
PRT | Portugal | T-ACCI-TOT | Number of road injury accidents | 2009 | 35484 | |||
PRT | Portugal | T-ACCI-TOT | Number of road injury accidents | 2010 | 35426 | |||
PRT | Portugal | T-ACCI-TOT | Number of road injury accidents | 2011 | 32541 | |||
JPN | Japan | T-ACCI-TOT | Number of road injury accidents | 2000 | 931950 | |||
JPN | Japan | T-ACCI-TOT | Number of road injury accidents | 2001 | 947253 | |||
JPN | Japan | T-ACCI-TOT | Number of road injury accidents | 2002 | 936950 | |||
JPN | Japan | T-ACCI-TOT | Number of road injury accidents | 2003 | 948281 | |||
JPN | Japan | T-ACCI-TOT | Number of road injury accidents | 2004 | 952709 | |||
JPN | Japan | T-ACCI-TOT | Number of road injury accidents | 2005 | 934339 | |||
JPN | Japan | T-ACCI-TOT | Number of road injury accidents | 2006 | 887257 | |||
JPN | Japan | T-ACCI-TOT | Number of road injury accidents | 2007 | 832691 | |||
JPN | Japan | T-ACCI-TOT | Number of road injury accidents | 2008 | 766382 | |||
JPN | Japan | T-ACCI-TOT | Number of road injury accidents | 2009 | 737628 | |||
JPN | Japan | T-ACCI-TOT | Number of road injury accidents | 2010 | 725903 | |||
JPN | Japan | T-ACCI-TOT | Number of road injury accidents | 2011 | 692056 | |||
SRB | Serbia, Republic of | T-ACCI-TOT | Number of road injury accidents | 2000 | 15076 | |||
SRB | Serbia, Republic of | T-ACCI-TOT | Number of road injury accidents | 2001 | 11562 | |||
SRB | Serbia, Republic of | T-ACCI-TOT | Number of road injury accidents | 2002 | 14899 | |||
SRB | Serbia, Republic of | T-ACCI-TOT | Number of road injury accidents | 2003 | 12385 | |||
SRB | Serbia, Republic of | T-ACCI-TOT | Number of road injury accidents | 2004 | 13373 | |||
SRB | Serbia, Republic of | T-ACCI-TOT | Number of road injury accidents | 2005 | 12752 | |||
SRB | Serbia, Republic of | T-ACCI-TOT | Number of road injury accidents | 2006 | 13912 | |||
SRB | Serbia, Republic of | T-ACCI-TOT | Number of road injury accidents | 2007 | 16585 | |||
SRB | Serbia, Republic of | T-ACCI-TOT | Number of road injury accidents | 2008 | 16651 | |||
SRB | Serbia, Republic of | T-ACCI-TOT | Number of road injury accidents | 2009 | 15807 | |||
SRB | Serbia, Republic of | T-ACCI-TOT | Number of road injury accidents | 2010 | 14179 | |||
SRB | Serbia, Republic of | T-ACCI-TOT | Number of road injury accidents | 2011 | 14119 | |||
DNK | Denmark | T-ACCI-TOT | Number of road injury accidents | 2000 | 7346 | |||
DNK | Denmark | T-ACCI-TOT | Number of road injury accidents | 2001 | 6861 | |||
DNK | Denmark | T-ACCI-TOT | Number of road injury accidents | 2002 | 7126 | |||
DNK | Denmark | T-ACCI-TOT | Number of road injury accidents | 2003 | 6749 | |||
DNK | Denmark | T-ACCI-TOT | Number of road injury accidents | 2004 | 6209 | |||
DNK | Denmark | T-ACCI-TOT | Number of road injury accidents | 2005 | 5412 | |||
DNK | Denmark | T-ACCI-TOT | Number of road injury accidents | 2006 | 5403 | |||
DNK | Denmark | T-ACCI-TOT | Number of road injury accidents | 2007 | 5549 | |||
DNK | Denmark | T-ACCI-TOT | Number of road injury accidents | 2008 | 5020 | |||
DNK | Denmark | T-ACCI-TOT | Number of road injury accidents | 2009 | 4174 | |||
DNK | Denmark | T-ACCI-TOT | Number of road injury accidents | 2010 | 3498 | |||
DNK | Denmark | T-ACCI-TOT | Number of road injury accidents | 2011 | 3525 | |||
IRL | Ireland | T-ACCI-TOT | Number of road injury accidents | 2000 | 7757 | |||
IRL | Ireland | T-ACCI-TOT | Number of road injury accidents | 2001 | 6909 | |||
IRL | Ireland | T-ACCI-TOT | Number of road injury accidents | 2002 | 6625 | |||
IRL | Ireland | T-ACCI-TOT | Number of road injury accidents | 2003 | 5985 | |||
IRL | Ireland | T-ACCI-TOT | Number of road injury accidents | 2004 | 5781 | |||
IRL | Ireland | T-ACCI-TOT | Number of road injury accidents | 2005 | 6533 | |||
IRL | Ireland | T-ACCI-TOT | Number of road injury accidents | 2006 | 6018 | |||
IRL | Ireland | T-ACCI-TOT | Number of road injury accidents | 2007 | 5158 | |||
IRL | Ireland | T-ACCI-TOT | Number of road injury accidents | 2008 | 5580 | |||
IRL | Ireland | T-ACCI-TOT | Number of road injury accidents | 2009 | 6615 | |||
IRL | Ireland | T-ACCI-TOT | Number of road injury accidents | 2010 | 5780 | |||
IRL | Ireland | T-ACCI-TOT | Number of road injury accidents | 2011 | 5230 | |||
NOR | Norway | T-ACCI-TOT | Number of road injury accidents | 2000 | 8440 | |||
NOR | Norway | T-ACCI-TOT | Number of road injury accidents | 2001 | 8244 | |||
NOR | Norway | T-ACCI-TOT | Number of road injury accidents | 2002 | 8724 | |||
NOR | Norway | T-ACCI-TOT | Number of road injury accidents | 2003 | 8266 | |||
NOR | Norway | T-ACCI-TOT | Number of road injury accidents | 2004 | 8425 | |||
NOR | Norway | T-ACCI-TOT | Number of road injury accidents | 2005 | 8078 | |||
NOR | Norway | T-ACCI-TOT | Number of road injury accidents | 2006 | 7925 | |||
NOR | Norway | T-ACCI-TOT | Number of road injury accidents | 2007 | 8182 | |||
NOR | Norway | T-ACCI-TOT | Number of road injury accidents | 2008 | 7726 | |||
NOR | Norway | T-ACCI-TOT | Number of road injury accidents | 2009 | 6922 | |||
NOR | Norway | T-ACCI-TOT | Number of road injury accidents | 2010 | 6434 | |||
NOR | Norway | T-ACCI-TOT | Number of road injury accidents | 2011 | 6079 | |||
CAN | Canada | T-ACCI-TOT | Number of road injury accidents | 2000 | 155847 | |||
CAN | Canada | T-ACCI-TOT | Number of road injury accidents | 2001 | 151409 | |||
CAN | Canada | T-ACCI-TOT | Number of road injury accidents | 2002 | 156442 | |||
CAN | Canada | T-ACCI-TOT | Number of road injury accidents | 2003 | 152980 | |||
CAN | Canada | T-ACCI-TOT | Number of road injury accidents | 2004 | 147588 | |||
CAN | Canada | T-ACCI-TOT | Number of road injury accidents | 2005 | 148110 | |||
CAN | Canada | T-ACCI-TOT | Number of road injury accidents | 2006 | 145103 | |||
CAN | Canada | T-ACCI-TOT | Number of road injury accidents | 2007 | 141070 | |||
CAN | Canada | T-ACCI-TOT | Number of road injury accidents | 2008 | 129869 | |||
CAN | Canada | T-ACCI-TOT | Number of road injury accidents | 2009 | 125575 | |||
CAN | Canada | T-ACCI-TOT | Number of road injury accidents | 2010 | 125161 | |||
CAN | Canada | T-ACCI-TOT | Number of road injury accidents | 2011 | 122966 | |||
DEU | Germany | T-ACCI-TOT | Number of road injury accidents | 2000 | 382949 | |||
DEU | Germany | T-ACCI-TOT | Number of road injury accidents | 2001 | 375345 | |||
DEU | Germany | T-ACCI-TOT | Number of road injury accidents | 2002 | 362054 | |||
DEU | Germany | T-ACCI-TOT | Number of road injury accidents | 2003 | 354534 | |||
DEU | Germany | T-ACCI-TOT | Number of road injury accidents | 2004 | 339310 | |||
DEU | Germany | T-ACCI-TOT | Number of road injury accidents | 2005 | 336619 | |||
DEU | Germany | T-ACCI-TOT | Number of road injury accidents | 2006 | 327984 | |||
DEU | Germany | T-ACCI-TOT | Number of road injury accidents | 2007 | 335845 | |||
DEU | Germany | T-ACCI-TOT | Number of road injury accidents | 2008 | 320614 | |||
DEU | Germany | T-ACCI-TOT | Number of road injury accidents | 2009 | 310806 | |||
DEU | Germany | T-ACCI-TOT | Number of road injury accidents | 2010 | 288297 | |||
DEU | Germany | T-ACCI-TOT | Number of road injury accidents | 2011 | 306266 | |||
ESP | Spain | T-ACCI-TOT | Number of road injury accidents | 2000 | 101729 | |||
ESP | Spain | T-ACCI-TOT | Number of road injury accidents | 2001 | 100393 | |||
ESP | Spain | T-ACCI-TOT | Number of road injury accidents | 2002 | 98433 | |||
ESP | Spain | T-ACCI-TOT | Number of road injury accidents | 2003 | 99987 | |||
ESP | Spain | T-ACCI-TOT | Number of road injury accidents | 2004 | 94009 | |||
ESP | Spain | T-ACCI-TOT | Number of road injury accidents | 2005 | 91187 | |||
ESP | Spain | T-ACCI-TOT | Number of road injury accidents | 2006 | 99797 | |||
ESP | Spain | T-ACCI-TOT | Number of road injury accidents | 2007 | 100508 | |||
ESP | Spain | T-ACCI-TOT | Number of road injury accidents | 2008 | 93161 | |||
ESP | Spain | T-ACCI-TOT | Number of road injury accidents | 2009 | 88251 | |||
ESP | Spain | T-ACCI-TOT | Number of road injury accidents | 2010 | 85503 | |||
ESP | Spain | T-ACCI-TOT | Number of road injury accidents | 2011 | 83027 | |||
FRA | France | T-ACCI-TOT | Number of road injury accidents | 2000 | 121223 | |||
FRA | France | T-ACCI-TOT | Number of road injury accidents | 2001 | 116745 | |||
FRA | France | T-ACCI-TOT | Number of road injury accidents | 2002 | 105470 | |||
FRA | France | T-ACCI-TOT | Number of road injury accidents | 2003 | 90220 | |||
FRA | France | T-ACCI-TOT | Number of road injury accidents | 2004 | 85390 | |||
FRA | France | T-ACCI-TOT | Number of road injury accidents | 2005 | 84525 | |||
FRA | France | T-ACCI-TOT | Number of road injury accidents | 2006 | 80309 | |||
FRA | France | T-ACCI-TOT | Number of road injury accidents | 2007 | 81272 | |||
FRA | France | T-ACCI-TOT | Number of road injury accidents | 2008 | 74487 | |||
FRA | France | T-ACCI-TOT | Number of road injury accidents | 2009 | 72315 | |||
FRA | France | T-ACCI-TOT | Number of road injury accidents | 2010 | 67288 | |||
FRA | France | T-ACCI-TOT | Number of road injury accidents | 2011 | 65024 | |||
ROU | Romania | T-ACCI-TOT | Number of road injury accidents | 2000 | 7555 | |||
ROU | Romania | T-ACCI-TOT | Number of road injury accidents | 2001 | 7244 | |||
ROU | Romania | T-ACCI-TOT | Number of road injury accidents | 2002 | 7047 | |||
ROU | Romania | T-ACCI-TOT | Number of road injury accidents | 2003 | 6654 | |||
ROU | Romania | T-ACCI-TOT | Number of road injury accidents | 2004 | 6860 | |||
ROU | Romania | T-ACCI-TOT | Number of road injury accidents | 2005 | 7226 | |||
ROU | Romania | T-ACCI-TOT | Number of road injury accidents | 2006 | 21904 | B | Break | |
ROU | Romania | T-ACCI-TOT | Number of road injury accidents | 2007 | 24662 | |||
ROU | Romania | T-ACCI-TOT | Number of road injury accidents | 2008 | 29861 | |||
ROU | Romania | T-ACCI-TOT | Number of road injury accidents | 2009 | 28612 | |||
ROU | Romania | T-ACCI-TOT | Number of road injury accidents | 2010 | 25996 | |||
ROU | Romania | T-ACCI-TOT | Number of road injury accidents | 2011 | 26648 | |||
AUT | Austria | T-ACCI-TOT | Number of road injury accidents | 2000 | 42126 | |||
AUT | Austria | T-ACCI-TOT | Number of road injury accidents | 2001 | 43073 | |||
AUT | Austria | T-ACCI-TOT | Number of road injury accidents | 2002 | 43175 | |||
AUT | Austria | T-ACCI-TOT | Number of road injury accidents | 2003 | 43426 | |||
AUT | Austria | T-ACCI-TOT | Number of road injury accidents | 2004 | 42657 | |||
AUT | Austria | T-ACCI-TOT | Number of road injury accidents | 2005 | 40896 | |||
AUT | Austria | T-ACCI-TOT | Number of road injury accidents | 2006 | 39884 | |||
AUT | Austria | T-ACCI-TOT | Number of road injury accidents | 2007 | 41096 | |||
AUT | Austria | T-ACCI-TOT | Number of road injury accidents | 2008 | 39173 | |||
AUT | Austria | T-ACCI-TOT | Number of road injury accidents | 2009 | 37925 | |||
AUT | Austria | T-ACCI-TOT | Number of road injury accidents | 2010 | 35348 | |||
AUT | Austria | T-ACCI-TOT | Number of road injury accidents | 2011 | 35129 | |||
HRV | Croatia | T-ACCI-TOT | Number of road injury accidents | 2000 | 14430 | |||
HRV | Croatia | T-ACCI-TOT | Number of road injury accidents | 2001 | 15656 | |||
HRV | Croatia | T-ACCI-TOT | Number of road injury accidents | 2002 | 17071 | |||
HRV | Croatia | T-ACCI-TOT | Number of road injury accidents | 2003 | 18592 | |||
HRV | Croatia | T-ACCI-TOT | Number of road injury accidents | 2004 | 17140 | |||
HRV | Croatia | T-ACCI-TOT | Number of road injury accidents | 2005 | 15679 | |||
HRV | Croatia | T-ACCI-TOT | Number of road injury accidents | 2006 | 16706 | |||
HRV | Croatia | T-ACCI-TOT | Number of road injury accidents | 2007 | 18029 | |||
HRV | Croatia | T-ACCI-TOT | Number of road injury accidents | 2008 | 16283 | |||
HRV | Croatia | T-ACCI-TOT | Number of road injury accidents | 2009 | 15730 | |||
HRV | Croatia | T-ACCI-TOT | Number of road injury accidents | 2010 | 13272 | |||
HRV | Croatia | T-ACCI-TOT | Number of road injury accidents | 2011 | 13228 | |||
KOR | Korea | T-ACCI-TOT | Number of road injury accidents | 2000 | 290481 | |||
KOR | Korea | T-ACCI-TOT | Number of road injury accidents | 2001 | 260579 | |||
KOR | Korea | T-ACCI-TOT | Number of road injury accidents | 2002 | 231026 | |||
KOR | Korea | T-ACCI-TOT | Number of road injury accidents | 2003 | 240832 | |||
KOR | Korea | T-ACCI-TOT | Number of road injury accidents | 2004 | 220755 | |||
KOR | Korea | T-ACCI-TOT | Number of road injury accidents | 2005 | 214171 | |||
KOR | Korea | T-ACCI-TOT | Number of road injury accidents | 2006 | 213745 | |||
KOR | Korea | T-ACCI-TOT | Number of road injury accidents | 2007 | 211662 | |||
KOR | Korea | T-ACCI-TOT | Number of road injury accidents | 2008 | 215822 | |||
KOR | Korea | T-ACCI-TOT | Number of road injury accidents | 2009 | 231990 | |||
KOR | Korea | T-ACCI-TOT | Number of road injury accidents | 2010 | 226878 | |||
KOR | Korea | T-ACCI-TOT | Number of road injury accidents | 2011 | 221711 | |||
ISL | Iceland | T-ACCI-TOT | Number of road injury accidents | 2000 | 1002 | |||
ISL | Iceland | T-ACCI-TOT | Number of road injury accidents | 2001 | 863 | |||
ISL | Iceland | T-ACCI-TOT | Number of road injury accidents | 2002 | 1007 | |||
ISL | Iceland | T-ACCI-TOT | Number of road injury accidents | 2003 | 807 | |||
ISL | Iceland | T-ACCI-TOT | Number of road injury accidents | 2004 | 810 | |||
ISL | Iceland | T-ACCI-TOT | Number of road injury accidents | 2005 | 687 | |||
ISL | Iceland | T-ACCI-TOT | Number of road injury accidents | 2006 | 915 | |||
ISL | Iceland | T-ACCI-TOT | Number of road injury accidents | 2007 | 1147 | |||
ISL | Iceland | T-ACCI-TOT | Number of road injury accidents | 2008 | 1085 | |||
ISL | Iceland | T-ACCI-TOT | Number of road injury accidents | 2009 | 893 | |||
ISL | Iceland | T-ACCI-TOT | Number of road injury accidents | 2010 | 876 | |||
ISL | Iceland | T-ACCI-TOT | Number of road injury accidents | 2011 | 837 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment