Skip to content

Instantly share code, notes, and snippets.

@jrzief
Last active September 8, 2019 01:30
Show Gist options
  • Save jrzief/5b13ce9855bc3e85056af7ffc60f0a06 to your computer and use it in GitHub Desktop.
Save jrzief/5b13ce9855bc3e85056af7ffc60f0a06 to your computer and use it in GitHub Desktop.
Stacked Area chart v3
license: mit

The data table shows worlds unemployment rate. The data table shows world's unemployment rate history and forecast from 2000 to 2022. The data is summarized using Datalib.

Label description:

Advanced economies Composed of 39 countries: Australia, Austria, Belgium, Canada, Cyprus, Czech Republic, Denmark, Estonia, Finland, France, Germany, Greece, Hong Kong SAR, Iceland, Ireland, Israel, Italy, Japan, Korea, Latvia, Lithuania, Luxembourg, Macao SAR, Malta, Netherlands, New Zealand, Norway, Portugal, Puerto Rico, San Marino, Singapore, Slovak Republic, Slovenia, Spain, Sweden, Switzerland, Taiwan Province of China, United Kingdom, and United States.

Euro area Composed of 19 countries: Austria, Belgium, Cyprus, Estonia, Finland, France, Germany, Greece, Ireland, Italy, Latvia, Lithuania, Luxembourg, Malta, Netherlands, Portugal, Slovak Republic, Slovenia, and Spain.

Major advanced economies (G7) Composed of 7 countries: Canada, France, Germany, Italy, Japan, United Kingdom, and United States.

Other advanced economies (Advanced economies excluding G7 and euro area) Composed of 16 countries: Australia, Czech Republic, Denmark, Hong Kong SAR, Iceland, Israel, Korea, Macao SAR, New Zealand, Norway, Puerto Rico, San Marino, Singapore, Sweden, Switzerland, and Taiwan Province of China.

This data is from International Monetary Fund.

forked from Scott's block: Global Carbon Emissions Area Chart

forked from Curran's block: How Americans Spend Time

forked from bpartopour's block: World Population by Political Regime

Built with blockbuilder.org

forked from bpartopour's block:

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<script src="https://d3js.org/d3.v4.min.js"></script>
<script src="https://unpkg.com/[email protected]/datalib.min.js"></script>
<script src="https://unpkg.com/[email protected]"></script>
<title>World Unemployment Rate</title>
<style>
body {
margin: 0px;
}
.area-label {
font-family: sans-serif;
fill-opacity: 0.7;
fill: white;
}
path:hover {
fill-opacity: 1;
fill:black;
}
path {
fill-opacity: 0.8;
stroke-width: 0.5;
}
text {
pointer-events: none;
}
.axis--major .tick text, .legend text, .tooltip text {
fill: #585858;
font-family: sans-serif;
font-size: 16pt;
}
.axis--minor .tick text {
display: none;
}
.axis--major .tick line{
stroke: #000000.92a;
stroke-width: 1px;
}
.axis--minor .tick line{
stroke: #eee;
}
.axis--y {
fill: #585858;
font-family: sans-serif;
font-size: 10pt;
}
.axis .domain {
display: none;
}
.axis-label, .legend-label {
fill: #635F5D;
font-size: 16pt;
font-family: sans-serif;
}
</style>
</head>
<body>
<svg width="960" height="500"></svg>
<script>
const yLabel = 'Population';
const xLabel = 'Year';
const row = d => {
d.Year = new Date(+d.year);
d["Advanced Economies"] = +d["Advanced Economies"];
d.Europe = +d.Europe;
d.G7 = +d.G7;
d["Other Advanced Countries"] = +d["Other advanced countries"];
return d;
};
// Load and summarize the data.
d3.csv('U_S.csv', row, data => {
render(data);
});
var margin = { top: 50, bottom: 50, left: 200, right: 50 };
var svg = d3.select('svg');
var width = +svg.attr('width');
var height = +svg.attr('height');
var g = svg.append('g')
.attr('transform', `translate(${margin.left},${margin.top})`);
var xAxisG = g.append('g')
.attr('class', 'axis');
var yAxisG = g.append('g')
.attr('class', 'axis axis--major axis--y');
var xAxisMinorG = xAxisG.append('g')
.attr('class', 'axis axis--minor');
var xAxisMajorG = xAxisG.append('g')
.attr('class', 'axis axis--major');
var marksG = g.append('g');
const keys = ["Advanced Economies","Europe","G7","Other advanced countries"];
var stack = d3.stack()
.keys(keys);
var xValue = function (d) { return d.Year; };
var xScale = d3.scaleTime();
var yScale = d3.scaleLinear().range([0,7]);
var colorScale = d3.scaleOrdinal()
.range(d3.schemeCategory10);
var xAxisMajor = d3.axisBottom().scale(xScale).tickFormat(d3.format('0'));
var xAxisMinor = d3.axisBottom().scale(xScale).ticks(30);
var yAxis = d3.axisLeft().scale(yScale).ticks(20);
var area = d3.area()
.x(d => xScale(xValue(d.data)))
.y0(d => yScale(d[0]))
.y1(d => yScale(d[1]))
.curve(d3.curveBasis);
// Render StreamGraph
function render(data) {
const stacked = stack(data)
console.log(keys);
console.log(stacked);
var innerWidth = width - margin.right - margin.left;
var innerHeight = height - margin.top - margin.bottom;
xScale
.domain(d3.extent(data, xValue))
.range([0, innerWidth]);
yScale
.domain([
d3.min(stacked, function (series) {
return d3.min(series, function (d) { return d[0]; });
}),
d3.max(stacked, function (series) {
return d3.max(series, function (d) { return d[1]; });
})
])
.range([innerHeight, 0]);
//check y domain and range
console.log(yScale.domain())
console.log(yScale.range())
colorScale.domain(d3.range(keys.length));
var paths = marksG.selectAll('path').data(stacked);
var pathsEnter = paths
.enter().append('path');
pathsEnter.merge(paths)
.attr('fill', function (d) { return colorScale(d.index); })
.attr('stroke', function (d) { return colorScale(d.index); })
.attr('d', area);
paths.select('title')
.merge(pathsEnter.append('title'))
.text(function (d) { return d.key; })
var labels = marksG.selectAll('text').data(stacked)
labels
.enter().append('text')
.attr('class', 'area-label')
.merge(labels)
.text(function (d) { return d.key; })
.attr('transform', d3.areaLabel(area).interpolateResolution(1000));
console.log(innerHeight)
//TypeError: cannot read property TickSize of Null
xAxisMajor.tickSize(-innerHeight);
xAxisMinor.tickSize(-innerHeight);
xAxisG.attr('transform', `translate(0,${innerHeight})`);
xAxisMajorG.call(xAxisMajor);
xAxisMinorG.call(xAxisMinor);
}
</script>
</body>
</html>
OriginTown Intersect Commuters
Cranbury township Trenton 0.0
East Windsor township Trenton 0.0
Ewing township Trenton 0.0
Franklin township Trenton 0.0
Hamilton township Trenton 0.0
Hightstown borough Trenton 0.0
Hillsborough township Trenton 0.0
Hopewell borough Trenton 0.0
Hopewell township Trenton 0.0
Jamesburg borough Trenton 0.0
Lawrence township Trenton 0.0
Monroe township Trenton 0.0
Montgomery township Trenton 0.0
New Brunswick city Trenton 0.0
North Brunswick township Trenton 0.0
Pennington borough Trenton 0.0
Plainsboro township Trenton 0.0
Princeton Trenton 0.0
Robbinsville township Trenton 0.0
Rocky Hill borough Trenton 0.0
South Brunswick township Trenton 0.0
Trenton city Trenton 5064.55
West Windsor township Trenton 0.0
Cranbury township OldenAve 0.0
East Windsor township OldenAve 0.0
Ewing township OldenAve 0.0
Franklin township OldenAve 0.0
Hamilton township OldenAve 0.0
Hightstown borough OldenAve 0.0
Hillsborough township OldenAve 0.0
Hopewell borough OldenAve 0.0
Hopewell township OldenAve 0.0
Jamesburg borough OldenAve 0.0
Lawrence township OldenAve 0.0
Monroe township OldenAve 0.0
Montgomery township OldenAve 0.0
New Brunswick city OldenAve 0.0
North Brunswick township OldenAve 0.0
Pennington borough OldenAve 0.0
Plainsboro township OldenAve 0.0
Princeton OldenAve 0.0
Robbinsville township OldenAve 0.0
Rocky Hill borough OldenAve 0.0
South Brunswick township OldenAve 0.0
Trenton city OldenAve 5064.55
West Windsor township OldenAve 0.0
Cranbury township WhiteheadRd 0.0
East Windsor township WhiteheadRd 0.0
Ewing township WhiteheadRd 0.0
Franklin township WhiteheadRd 0.0
Hamilton township WhiteheadRd 0.0
Hightstown borough WhiteheadRd 0.0
Hillsborough township WhiteheadRd 0.0
Hopewell borough WhiteheadRd 0.0
Hopewell township WhiteheadRd 0.0
Jamesburg borough WhiteheadRd 0.0
Lawrence township WhiteheadRd 53.5
Monroe township WhiteheadRd 0.0
Montgomery township WhiteheadRd 0.0
New Brunswick city WhiteheadRd 0.0
North Brunswick township WhiteheadRd 0.0
Pennington borough WhiteheadRd 0.0
Plainsboro township WhiteheadRd 0.0
Princeton WhiteheadRd 0.0
Robbinsville township WhiteheadRd 0.0
Rocky Hill borough WhiteheadRd 0.0
South Brunswick township WhiteheadRd 0.0
Trenton city WhiteheadRd 1967.05
West Windsor township WhiteheadRd 0.0
Cranbury township Lawrence-295 0.0
East Windsor township Lawrence-295 0.0
Ewing township Lawrence-295 563.4
Franklin township Lawrence-295 0.0
Hamilton township Lawrence-295 1519.4
Hightstown borough Lawrence-295 0.0
Hillsborough township Lawrence-295 0.0
Hopewell borough Lawrence-295 0.0
Hopewell township Lawrence-295 150.35
Jamesburg borough Lawrence-295 0.0
Lawrence township Lawrence-295 1373.2
Monroe township Lawrence-295 0.0
Montgomery township Lawrence-295 0.0
New Brunswick city Lawrence-295 0.0
North Brunswick township Lawrence-295 0.0
Pennington borough Lawrence-295 67.65
Plainsboro township Lawrence-295 0.0
Princeton Lawrence-295 0.0
Robbinsville township Lawrence-295 0.0
Rocky Hill borough Lawrence-295 0.0
South Brunswick township Lawrence-295 0.0
Trenton city Lawrence-295 1844.15
West Windsor township Lawrence-295 0.0
Cranbury township Quakerbridge 0.0
East Windsor township Quakerbridge 0.0
Ewing township Quakerbridge 563.4
Franklin township Quakerbridge 0.0
Hamilton township Quakerbridge 1695.9
Hightstown borough Quakerbridge 0.0
Hillsborough township Quakerbridge 0.0
Hopewell borough Quakerbridge 0.0
Hopewell township Quakerbridge 150.35
Jamesburg borough Quakerbridge 0.0
Lawrence township Quakerbridge 1319.7
Monroe township Quakerbridge 0.0
Montgomery township Quakerbridge 0.0
New Brunswick city Quakerbridge 0.0
North Brunswick township Quakerbridge 0.0
Pennington borough Quakerbridge 74.3
Plainsboro township Quakerbridge 0.0
Princeton Quakerbridge 0.0
Robbinsville township Quakerbridge 0.0
Rocky Hill borough Quakerbridge 0.0
South Brunswick township Quakerbridge 0.0
Trenton city Quakerbridge 1844.15
West Windsor township Quakerbridge 0.0
Cranbury township MeadowRd 0.0
East Windsor township MeadowRd 0.0
Ewing township MeadowRd 563.4
Franklin township MeadowRd 0.0
Hamilton township MeadowRd 1695.9
Hightstown borough MeadowRd 0.0
Hillsborough township MeadowRd 0.0
Hopewell borough MeadowRd 0.0
Hopewell township MeadowRd 91.35
Jamesburg borough MeadowRd 0.0
Lawrence township MeadowRd 1193.8
Monroe township MeadowRd 0.0
Montgomery township MeadowRd 0.0
New Brunswick city MeadowRd 0.0
North Brunswick township MeadowRd 0.0
Pennington borough MeadowRd 26.8
Plainsboro township MeadowRd 0.0
Princeton MeadowRd 0.0
Robbinsville township MeadowRd 0.0
Rocky Hill borough MeadowRd 0.0
South Brunswick township MeadowRd 0.0
Trenton city MeadowRd 786.05
West Windsor township MeadowRd 0.0
Cranbury township CarnegieCenter 0.0
East Windsor township CarnegieCenter 0.0
Ewing township CarnegieCenter 563.4
Franklin township CarnegieCenter 0.0
Hamilton township CarnegieCenter 1695.9
Hightstown borough CarnegieCenter 0.0
Hillsborough township CarnegieCenter 0.0
Hopewell borough CarnegieCenter 0.0
Hopewell township CarnegieCenter 91.35
Jamesburg borough CarnegieCenter 0.0
Lawrence township CarnegieCenter 1193.8
Monroe township CarnegieCenter 0.0
Montgomery township CarnegieCenter 0.0
New Brunswick city CarnegieCenter 0.0
North Brunswick township CarnegieCenter 0.0
Pennington borough CarnegieCenter 26.8
Plainsboro township CarnegieCenter 0.0
Princeton CarnegieCenter 0.0
Robbinsville township CarnegieCenter 0.0
Rocky Hill borough CarnegieCenter 0.0
South Brunswick township CarnegieCenter 0.0
Trenton city CarnegieCenter 786.05
West Windsor township CarnegieCenter 0.0
Cranbury township AlexanderRD 0.0
East Windsor township AlexanderRD 0.0
Ewing township AlexanderRD 563.4
Franklin township AlexanderRD 0.0
Hamilton township AlexanderRD 1695.9
Hightstown borough AlexanderRD 0.0
Hillsborough township AlexanderRD 0.0
Hopewell borough AlexanderRD 0.0
Hopewell township AlexanderRD 91.35
Jamesburg borough AlexanderRD 0.0
Lawrence township AlexanderRD 1193.8
Monroe township AlexanderRD 0.0
Montgomery township AlexanderRD 0.0
New Brunswick city AlexanderRD 0.0
North Brunswick township AlexanderRD 0.0
Pennington borough AlexanderRD 50.2
Plainsboro township AlexanderRD 0.0
Princeton AlexanderRD 124.82
Robbinsville township AlexanderRD 0.0
Rocky Hill borough AlexanderRD 0.0
South Brunswick township AlexanderRD 0.0
Trenton city AlexanderRD 786.05
West Windsor township AlexanderRD 0.0
Cranbury township WashingtonRd 0.0
East Windsor township WashingtonRd 0.0
Ewing township WashingtonRd 563.4
Franklin township WashingtonRd 0.0
Hamilton township WashingtonRd 1695.9
Hightstown borough WashingtonRd 0.0
Hillsborough township WashingtonRd 0.0
Hopewell borough WashingtonRd 0.0
Hopewell township WashingtonRd 91.35
Jamesburg borough WashingtonRd 0.0
Lawrence township WashingtonRd 1193.8
Monroe township WashingtonRd 0.0
Montgomery township WashingtonRd 0.0
New Brunswick city WashingtonRd 0.0
North Brunswick township WashingtonRd 0.0
Pennington borough WashingtonRd 50.2
Plainsboro township WashingtonRd 0.0
Princeton WashingtonRd 239.04
Robbinsville township WashingtonRd 0.0
Rocky Hill borough WashingtonRd 0.0
South Brunswick township WashingtonRd 0.0
Trenton city WashingtonRd 786.05
West Windsor township WashingtonRd 486.0
Cranbury township HarrisonRd 0.0
East Windsor township HarrisonRd 0.0
Ewing township HarrisonRd 554.6
Franklin township HarrisonRd 0.0
Hamilton township HarrisonRd 1695.9
Hightstown borough HarrisonRd 0.0
Hillsborough township HarrisonRd 0.0
Hopewell borough HarrisonRd 0.0
Hopewell township HarrisonRd 91.35
Jamesburg borough HarrisonRd 0.0
Lawrence township HarrisonRd 1091.6
Monroe township HarrisonRd 0.0
Montgomery township HarrisonRd 0.0
New Brunswick city HarrisonRd 0.0
North Brunswick township HarrisonRd 0.0
Pennington borough HarrisonRd 50.2
Plainsboro township HarrisonRd 0.0
Princeton HarrisonRd 373.1
Robbinsville township HarrisonRd 0.0
Rocky Hill borough HarrisonRd 0.0
South Brunswick township HarrisonRd 0.0
Trenton city HarrisonRd 771.95
West Windsor township HarrisonRd 486.0
Cranbury township Plainsboro-ScuddersMill 0.0
East Windsor township Plainsboro-ScuddersMill 0.0
Ewing township Plainsboro-ScuddersMill 554.6
Franklin township Plainsboro-ScuddersMill 0.0
Hamilton township Plainsboro-ScuddersMill 1695.9
Hightstown borough Plainsboro-ScuddersMill 0.0
Hillsborough township Plainsboro-ScuddersMill 0.0
Hopewell borough Plainsboro-ScuddersMill 0.0
Hopewell township Plainsboro-ScuddersMill 91.35
Jamesburg borough Plainsboro-ScuddersMill 0.0
Lawrence township Plainsboro-ScuddersMill 1091.6
Monroe township Plainsboro-ScuddersMill 0.0
Montgomery township Plainsboro-ScuddersMill 0.0
New Brunswick city Plainsboro-ScuddersMill 0.0
North Brunswick township Plainsboro-ScuddersMill 0.0
Pennington borough Plainsboro-ScuddersMill 50.2
Plainsboro township Plainsboro-ScuddersMill 0.0
Princeton Plainsboro-ScuddersMill 373.1
Robbinsville township Plainsboro-ScuddersMill 0.0
Rocky Hill borough Plainsboro-ScuddersMill 0.0
South Brunswick township Plainsboro-ScuddersMill 0.0
Trenton city Plainsboro-ScuddersMill 771.95
West Windsor township Plainsboro-ScuddersMill 486.0
Cranbury township Plainsboro-CollegeRd 0.0
East Windsor township Plainsboro-CollegeRd 0.0
Ewing township Plainsboro-CollegeRd 345.6
Franklin township Plainsboro-CollegeRd 0.0
Hamilton township Plainsboro-CollegeRd 1255.5
Hightstown borough Plainsboro-CollegeRd 0.0
Hillsborough township Plainsboro-CollegeRd 0.0
Hopewell borough Plainsboro-CollegeRd 0.0
Hopewell township Plainsboro-CollegeRd 47.25
Jamesburg borough Plainsboro-CollegeRd 0.0
Lawrence township Plainsboro-CollegeRd 545.8
Monroe township Plainsboro-CollegeRd 0.0
Montgomery township Plainsboro-CollegeRd 0.0
New Brunswick city Plainsboro-CollegeRd 0.0
North Brunswick township Plainsboro-CollegeRd 0.0
Pennington borough Plainsboro-CollegeRd 15.1
Plainsboro township Plainsboro-CollegeRd 0.0
Princeton Plainsboro-CollegeRd 42.4
Robbinsville township Plainsboro-CollegeRd 0.0
Rocky Hill borough Plainsboro-CollegeRd 0.0
South Brunswick township Plainsboro-CollegeRd 0.0
Trenton city Plainsboro-CollegeRd 542.95
West Windsor township Plainsboro-CollegeRd 486.0
Cranbury township RaymondRD 0.0
East Windsor township RaymondRD 0.0
Ewing township RaymondRD 345.6
Franklin township RaymondRD 0.0
Hamilton township RaymondRD 1255.5
Hightstown borough RaymondRD 0.0
Hillsborough township RaymondRD 0.0
Hopewell borough RaymondRD 0.0
Hopewell township RaymondRD 47.25
Jamesburg borough RaymondRD 0.0
Lawrence township RaymondRD 545.8
Monroe township RaymondRD 0.0
Montgomery township RaymondRD 0.0
New Brunswick city RaymondRD 0.0
North Brunswick township RaymondRD 0.0
Pennington borough RaymondRD 15.1
Plainsboro township RaymondRD 265.2
Princeton RaymondRD 42.4
Robbinsville township RaymondRD 0.0
Rocky Hill borough RaymondRD 0.0
South Brunswick township RaymondRD 0.0
Trenton city RaymondRD 542.95
West Windsor township RaymondRD 486.0
Cranbury township RidgeRd 0.0
East Windsor township RidgeRd 0.0
Ewing township RidgeRd 345.6
Franklin township RidgeRd 0.0
Hamilton township RidgeRd 1188.9
Hightstown borough RidgeRd 0.0
Hillsborough township RidgeRd 0.0
Hopewell borough RidgeRd 0.0
Hopewell township RidgeRd 47.25
Jamesburg borough RidgeRd 0.0
Lawrence township RidgeRd 545.8
Monroe township RidgeRd 0.0
Montgomery township RidgeRd 0.0
New Brunswick city RidgeRd 0.0
North Brunswick township RidgeRd 0.0
Pennington borough RidgeRd 15.1
Plainsboro township RidgeRd 265.2
Princeton RidgeRd 42.4
Robbinsville township RidgeRd 0.0
Rocky Hill borough RidgeRd 0.0
South Brunswick township RidgeRd 0.0
Trenton city RidgeRd 469.75
West Windsor township RidgeRd 486.0
Cranbury township PromenadeBlvd 0.0
East Windsor township PromenadeBlvd 0.0
Ewing township PromenadeBlvd 345.6
Franklin township PromenadeBlvd 0.0
Hamilton township PromenadeBlvd 1188.9
Hightstown borough PromenadeBlvd 0.0
Hillsborough township PromenadeBlvd 0.0
Hopewell borough PromenadeBlvd 0.0
Hopewell township PromenadeBlvd 47.25
Jamesburg borough PromenadeBlvd 0.0
Lawrence township PromenadeBlvd 545.8
Monroe township PromenadeBlvd 0.0
Montgomery township PromenadeBlvd 0.0
New Brunswick city PromenadeBlvd 0.0
North Brunswick township PromenadeBlvd 0.0
Pennington borough PromenadeBlvd 15.1
Plainsboro township PromenadeBlvd 265.2
Princeton PromenadeBlvd 42.4
Robbinsville township PromenadeBlvd 0.0
Rocky Hill borough PromenadeBlvd 0.0
South Brunswick township PromenadeBlvd 0.0
Trenton city PromenadeBlvd 469.75
West Windsor township PromenadeBlvd 486.0
Cranbury township SBrunswick-AutumnDr 0.0
East Windsor township SBrunswick-AutumnDr 0.0
Ewing township SBrunswick-AutumnDr 220.8
Franklin township SBrunswick-AutumnDr 0.0
Hamilton township SBrunswick-AutumnDr 609.3
Hightstown borough SBrunswick-AutumnDr 0.0
Hillsborough township SBrunswick-AutumnDr 0.0
Hopewell borough SBrunswick-AutumnDr 0.0
Hopewell township SBrunswick-AutumnDr 14.25
Jamesburg borough SBrunswick-AutumnDr 0.0
Lawrence township SBrunswick-AutumnDr 182.8
Monroe township SBrunswick-AutumnDr 0.0
Montgomery township SBrunswick-AutumnDr 0.0
New Brunswick city SBrunswick-AutumnDr 0.0
North Brunswick township SBrunswick-AutumnDr 0.0
Pennington borough SBrunswick-AutumnDr 1.8
Plainsboro township SBrunswick-AutumnDr 265.2
Princeton SBrunswick-AutumnDr 312.0
Robbinsville township SBrunswick-AutumnDr 0.0
Rocky Hill borough SBrunswick-AutumnDr 0.0
South Brunswick township SBrunswick-AutumnDr 0.0
Trenton city SBrunswick-AutumnDr 469.75
West Windsor township SBrunswick-AutumnDr 378.0
Cranbury township NewRd 0.0
East Windsor township NewRd 0.0
Ewing township NewRd 220.8
Franklin township NewRd 0.0
Hamilton township NewRd 609.3
Hightstown borough NewRd 0.0
Hillsborough township NewRd 0.0
Hopewell borough NewRd 0.0
Hopewell township NewRd 14.25
Jamesburg borough NewRd 0.0
Lawrence township NewRd 182.8
Monroe township NewRd 0.0
Montgomery township NewRd 0.0
New Brunswick city NewRd 0.0
North Brunswick township NewRd 0.0
Pennington borough NewRd 1.8
Plainsboro township NewRd 265.2
Princeton NewRd 312.0
Robbinsville township NewRd 0.0
Rocky Hill borough NewRd 0.0
South Brunswick township NewRd 0.0
Trenton city NewRd 108.75
West Windsor township NewRd 378.0
Cranbury township SandHillRd 0.0
East Windsor township SandHillRd 0.0
Ewing township SandHillRd 220.8
Franklin township SandHillRd 0.0
Hamilton township SandHillRd 609.3
Hightstown borough SandHillRd 0.0
Hillsborough township SandHillRd 0.0
Hopewell borough SandHillRd 0.0
Hopewell township SandHillRd 14.25
Jamesburg borough SandHillRd 0.0
Lawrence township SandHillRd 182.8
Monroe township SandHillRd 0.0
Montgomery township SandHillRd 0.0
New Brunswick city SandHillRd 0.0
North Brunswick township SandHillRd 0.0
Pennington borough SandHillRd 1.8
Plainsboro township SandHillRd 265.2
Princeton SandHillRd 312.0
Robbinsville township SandHillRd 0.0
Rocky Hill borough SandHillRd 0.0
South Brunswick township SandHillRd 0.0
Trenton city SandHillRd 108.75
West Windsor township SandHillRd 378.0
Cranbury township HendersonRd 0.0
East Windsor township HendersonRd 0.0
Ewing township HendersonRd 160.8
Franklin township HendersonRd 0.0
Hamilton township HendersonRd 428.4
Hightstown borough HendersonRd 0.0
Hillsborough township HendersonRd 0.0
Hopewell borough HendersonRd 0.0
Hopewell township HendersonRd 14.25
Jamesburg borough HendersonRd 0.0
Lawrence township HendersonRd 86.0
Monroe township HendersonRd 0.0
Montgomery township HendersonRd 0.0
New Brunswick city HendersonRd 0.0
North Brunswick township HendersonRd 0.0
Pennington borough HendersonRd 1.8
Plainsboro township HendersonRd 239.4
Princeton HendersonRd 312.0
Robbinsville township HendersonRd 0.0
Rocky Hill borough HendersonRd 0.0
South Brunswick township HendersonRd 0.0
Trenton city HendersonRd 90.0
West Windsor township HendersonRd 246.0
Cranbury township FinnegansLane 0.0
East Windsor township FinnegansLane 0.0
Ewing township FinnegansLane 160.8
Franklin township FinnegansLane 0.0
Hamilton township FinnegansLane 428.4
Hightstown borough FinnegansLane 0.0
Hillsborough township FinnegansLane 0.0
Hopewell borough FinnegansLane 0.0
Hopewell township FinnegansLane 14.25
Jamesburg borough FinnegansLane 0.0
Lawrence township FinnegansLane 86.0
Monroe township FinnegansLane 0.0
Montgomery township FinnegansLane 0.0
New Brunswick city FinnegansLane 0.0
North Brunswick township FinnegansLane 0.0
Pennington borough FinnegansLane 1.8
Plainsboro township FinnegansLane 239.4
Princeton FinnegansLane 312.0
Robbinsville township FinnegansLane 0.0
Rocky Hill borough FinnegansLane 0.0
South Brunswick township FinnegansLane 0.0
Trenton city FinnegansLane 90.0
West Windsor township FinnegansLane 246.0
Cranbury township AdamsLane 0.0
East Windsor township AdamsLane 0.0
Ewing township AdamsLane 160.8
Franklin township AdamsLane 0.0
Hamilton township AdamsLane 428.4
Hightstown borough AdamsLane 0.0
Hillsborough township AdamsLane 66.0
Hopewell borough AdamsLane 0.0
Hopewell township AdamsLane 14.25
Jamesburg borough AdamsLane 0.0
Lawrence township AdamsLane 86.0
Monroe township AdamsLane 0.0
Montgomery township AdamsLane 0.0
New Brunswick city AdamsLane 0.0
North Brunswick township AdamsLane 0.0
Pennington borough AdamsLane 1.8
Plainsboro township AdamsLane 239.4
Princeton AdamsLane 312.0
Robbinsville township AdamsLane 0.0
Rocky Hill borough AdamsLane 0.0
South Brunswick township AdamsLane 0.0
Trenton city AdamsLane 90.0
West Windsor township AdamsLane 246.0
Cranbury township Nbrunswick-JerseyAve 0.0
East Windsor township Nbrunswick-JerseyAve 0.0
Ewing township Nbrunswick-JerseyAve 160.8
Franklin township Nbrunswick-JerseyAve 0.0
Hamilton township Nbrunswick-JerseyAve 428.4
Hightstown borough Nbrunswick-JerseyAve 0.0
Hillsborough township Nbrunswick-JerseyAve 66.0
Hopewell borough Nbrunswick-JerseyAve 0.0
Hopewell township Nbrunswick-JerseyAve 14.25
Jamesburg borough Nbrunswick-JerseyAve 0.0
Lawrence township Nbrunswick-JerseyAve 86.0
Monroe township Nbrunswick-JerseyAve 0.0
Montgomery township Nbrunswick-JerseyAve 0.0
New Brunswick city Nbrunswick-JerseyAve 0.0
North Brunswick township Nbrunswick-JerseyAve 0.0
Pennington borough Nbrunswick-JerseyAve 1.8
Plainsboro township Nbrunswick-JerseyAve 239.4
Princeton Nbrunswick-JerseyAve 312.0
Robbinsville township Nbrunswick-JerseyAve 0.0
Rocky Hill borough Nbrunswick-JerseyAve 0.0
South Brunswick township Nbrunswick-JerseyAve 0.0
Trenton city Nbrunswick-JerseyAve 90.0
West Windsor township Nbrunswick-JerseyAve 246.0
Cranbury township LivingstonAve 0.0
East Windsor township LivingstonAve 0.0
Ewing township LivingstonAve 160.8
Franklin township LivingstonAve 0.0
Hamilton township LivingstonAve 428.4
Hightstown borough LivingstonAve 0.0
Hillsborough township LivingstonAve 66.0
Hopewell borough LivingstonAve 0.0
Hopewell township LivingstonAve 14.25
Jamesburg borough LivingstonAve 0.0
Lawrence township LivingstonAve 86.0
Monroe township LivingstonAve 0.0
Montgomery township LivingstonAve 0.0
New Brunswick city LivingstonAve 0.0
North Brunswick township LivingstonAve 0.0
Pennington borough LivingstonAve 1.8
Plainsboro township LivingstonAve 239.4
Princeton LivingstonAve 312.0
Robbinsville township LivingstonAve 0.0
Rocky Hill borough LivingstonAve 0.0
South Brunswick township LivingstonAve 0.0
Trenton city LivingstonAve 90.0
West Windsor township LivingstonAve 246.0
Cranbury township Rte130 0.0
East Windsor township Rte130 0.0
Ewing township Rte130 160.8
Franklin township Rte130 0.0
Hamilton township Rte130 428.4
Hightstown borough Rte130 0.0
Hillsborough township Rte130 0.0
Hopewell borough Rte130 0.0
Hopewell township Rte130 14.25
Jamesburg borough Rte130 0.0
Lawrence township Rte130 86.0
Monroe township Rte130 0.0
Montgomery township Rte130 0.0
New Brunswick city Rte130 0.0
North Brunswick township Rte130 0.0
Pennington borough Rte130 1.8
Plainsboro township Rte130 239.4
Princeton Rte130 312.0
Robbinsville township Rte130 0.0
Rocky Hill borough Rte130 0.0
South Brunswick township Rte130 0.0
Trenton city Rte130 90.0
West Windsor township Rte130 246.0
Cranbury township RydersLane 0.0
East Windsor township RydersLane 0.0
Ewing township RydersLane 126.4
Franklin township RydersLane 0.0
Hamilton township RydersLane 286.2
Hightstown borough RydersLane 0.0
Hillsborough township RydersLane 0.0
Hopewell borough RydersLane 0.0
Hopewell township RydersLane 14.25
Jamesburg borough RydersLane 0.0
Lawrence township RydersLane 86.0
Monroe township RydersLane 0.0
Montgomery township RydersLane 0.0
New Brunswick city RydersLane 0.0
North Brunswick township RydersLane 0.0
Pennington borough RydersLane 1.8
Plainsboro township RydersLane 239.4
Princeton RydersLane 214.0
Robbinsville township RydersLane 0.0
Rocky Hill borough RydersLane 0.0
South Brunswick township RydersLane 0.0
Trenton city RydersLane 90.0
West Windsor township RydersLane 156.0
year Advanced Economies Europe G7 Other advanced countries
2000 6.022 8.958 5.639 5.078
2001 6.07 8.417 5.871 5.198
2002 6.533 8.658 6.442 5.204
2003 6.73 9.058 6.615 5.446
2004 6.527 9.258 6.353 5.293
2005 6.249 9.083 6.149 5.048
2006 5.795 8.375 5.744 4.626
2007 5.413 7.525 5.404 4.151
2008 5.815 7.583 5.839 4.002
2009 8.064 9.65 8.023 5.311
2010 8.316 10.2 8.135 5.205
2011 7.979 10.208 7.631 4.721
2012 8.024 11.383 7.356 4.655
2013 7.92 11.992 7.075 4.628
2014 7.288 11.617 6.374 4.658
2015 6.672 10.867 5.787 4.535
2016 6.209 10.017 5.428 4.428
2017 5.952 9.439 5.289 4.335
2018 5.822 9.105 5.225 4.251
2019 5.662 8.791 5.109 4.13
2020 5.588 8.54 5.09 4.073
2021 5.578 8.281 5.166 4.029
2022 5.601 8.133 5.233 4.032
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment