Skip to content

Instantly share code, notes, and snippets.

@melaniewalsh
Forked from jrladd/README.md
Last active March 2, 2017 18:01
Show Gist options
  • Save melaniewalsh/bba87b8697dc942e62fd053bbd8052fc to your computer and use it in GitHub Desktop.
Save melaniewalsh/bba87b8697dc942e62fd053bbd8052fc to your computer and use it in GitHub Desktop.
Things That The U.S. Presidents Thought Were Great in Their Inaugural Addresses

This a semantic network of U.S. Presidents and the things they described as "great" in their Inaugural Addresses. Forked from John Ladd.

Have a great time!

<!DOCTYPE html>
<meta charset="utf-8">
<style>
.links line {
stroke: #999;
stroke-opacity: .6;
shape-rendering: geometricPrecision;
}
.nodes circle {
stroke: #fff;
stroke-width: 1.5px;
}
.node text {
pointer-events: none;
font: 10px sans-serif;
}
#tools div {
display: inline;
}
form, select {
float: right;
display: inline;
}
</style>
<body>
<div id='tools'></div>
<svg width="960" height="600"></svg>
<script src="https://d3js.org/d3.v4.min.js"></script>
<script src="https://d3js.org/d3-scale-chromatic.v1.min.js"></script>
<script>
var svg = d3.select("svg"),
width = +svg.attr("width"),
height = +svg.attr("height");
var graph; //Global variable for the graph
svg.append('rect')
.attr('width', '100%')
.attr('height', '100%')
.attr('fill', '#FFFFFF');
// Call zoom for svg container.
svg.call(d3.zoom().on('zoom', zoomed)).on("dblclick.zoom", null);
var container = svg.append('g');
//Create scales for color and edge weight
var color = d3.scaleLinear()
.domain([1776,2017])
.range([0.1,1]);
var weight = d3.scaleLinear()
.domain([0,1])
.range([1,5]);
// Create form for search (see function below).
var search = d3.select("div#tools").append('form').attr('onsubmit', 'return false;');
var box = search.append('input')
.attr('type', 'text')
.attr('id', 'searchTerm')
.attr('placeholder', 'Type to search...');
var button = search.append('input')
.attr('type', 'button')
.attr('value', 'Search')
.on('click', function () { searchNodes(); });
//Toggle for ego networks on click (function below).
var toggle = 0;
//Create groups for nodes and links
var link = container.append("g")
.attr("class", "links")
.selectAll(".link"),
node = container.append("g")
.attr("class", "nodes")
.selectAll(".node");
//Get data from json file, assign that data to graph variable.
d3.json("semantic_great_nouns.json", function(error, json) {
if (error) throw error;
graph = json;
update();
});
// Zooming function translates the size of the svg container.
function zoomed() {
container.attr("transform", "translate(" + d3.event.transform.x + ", " + d3.event.transform.y + ") scale(" + d3.event.transform.k + ")");
}
// Search for nodes by making all unmatched nodes temporarily transparent.
function searchNodes() {
var term = document.getElementById('searchTerm').value;
var selected = container.selectAll('.node').filter(function (d, i) {
return d.id.toString().search(term.toLowerCase()) == -1;
});
selected.style('opacity', '0');
var link = container.selectAll('.link');
link.style('stroke-opacity', '0');
d3.selectAll('.node').transition()
.duration(20000)
.style('opacity', '1');
d3.selectAll('.link').transition().duration(20000).style('stroke-opacity', '1');
}
//Draw the graph!
function update() {
//Parameters for force layout simulation
var simulation = d3.forceSimulation(graph.nodes)
.force("link", d3.forceLink(graph.links))//.id(function(d) { return d.id; }))
.force("charge", d3.forceManyBody().strength([-300]))//.distanceMax([500]))
.force("center", d3.forceCenter(width / 2, height / 2))
.force("x", d3.forceX())
.force("y", d3.forceY())
.stop();
//The graph will be drawn behind the scenes and then displayed in static form.
//This code tells the program how many times to iterate through the layout simulation.
for (var i = 0, n = Math.ceil(Math.log(simulation.alphaMin()) / Math.log(1 - simulation.alphaDecay())); i < n; ++i) {
simulation.tick();
}
// Data join with links and corresponding nodes.
//If we wanted to reload the graph with an adjusted node set, we could do so.
link = link.data(graph.links, function(d) {return d.source.id + ', ' + d.target.id;});
link.exit().remove();
var linkEnter = link.enter().append('line')
.attr('class', 'link');
link = linkEnter.merge(link)
.attr("x1", function(d) { return d.source.x; })
.attr("y1", function(d) { return d.source.y; })
.attr("x2", function(d) { return d.target.x; })
.attr("y2", function(d) { return d.target.y; })
.attr("stroke-width", function(d) { return weight(d.weight); });
// When adding and removing graph.nodes, reassert attributes and behaviors.
node = node.data(graph.nodes, function(d) {return d.id;});
node.exit().remove();
var nodeEnter = node.enter().append('circle')
.attr('r', 20)
.attr("fill", function(d) { if (d.bipartite == 1) {return '#103def';} else {return '#ed1d0e';}})
//color bipartite nodes
.attr('class', 'node')
.attr('id', function(d) { return "n" + d.id.toString(); })
.attr('clickToggle', 0)
.attr("cx", function(d) { return d.x; })
.attr("cy", function(d) { return d.y; })
// On click, toggle ego networks for the selected node. (See function below.)
.on('click', function(d) { toggleClick(d); });
node = nodeEnter.merge(node);
//node.append("label")
//.attr("dx", 12)
//.attr("dy", ".35em")
//.text(function(d) { return d.id });
var label = svg.append("g").attr("class", "labels").selectAll("g")
.data(graph.nodes)
.enter().append("g");
label.append("text")
.attr("x", 14)
.attr("y", ".31em")
.style("font-family", "sans-serif")
.style("font-size", "0.7em")
.text(function(d) { return d.id; })
.attr("x", function(d) { return d.x; })
.attr("y", function (d) { return d.y; });
// node.append("text")
// .attr("dx", 12)
// .attr("dy", ".35em")
//.text(function(d) { return d.id });
// simulation.on("tick", function () {
// link.attr("x1", function (d) {return d.source.x;})
// .attr("y1", function (d) {return d.source.y;})
// .attr("x2", function (d) {return d.target.x;})
// .attr("y2", function (d) {return d.target.y;});"""
//node.attr("transform", function(d) { return "translate(" + d.x + "," + d.y + ")"; });
// });
//d3.selectAll("circle").attr("cx", function (d) {return d.x;})
// .attr("cy", function (d) {return d.y;});
//d3.selectAll("text").attr("x", function (d) {return d.x;})
// .attr("y", function (d) {return d.y;});
//});
//node.append("title")
//.text(function(d) { return d.id; });
}
// A function to handle click toggling based on neighboring nodes.
function toggleClick(d) {
// Make object of all neighboring nodes.
connectedNodes = {};
connectedNodes[d.id] = true;
graph.links.forEach(function(l) {
if (l.source.id == d.id) { connectedNodes[l.target.id] = true; }
else if (l.target.id == d.id) { connectedNodes[l.source.id] = true; };
});
if (toggle == 0) {
// Ternary operator restyles links and nodes if they are adjacent.
d3.selectAll('.link').style('stroke-opacity', function (l) {
return l.target == d || l.source == d ? 1 : 0.2;
});
d3.selectAll('.node').style('opacity', function (n) {
if (n.id in connectedNodes) { return 1; }
else { return 0.2; };
});
// Show information when node is clicked
d3.select('div#tools').append('span').text(d.date);
toggle = 1;
}
else {
// Restore nodes and links to normal opacity.
d3.selectAll('.link').style('stroke-opacity', 0.6);
d3.selectAll('.node').style('opacity', 1);
d3.selectAll('span').remove();
toggle = 0;
}
}
</script>
</body>
{
"directed":false,
"graph":{},
"links":[
{
"date":1921,
"edge weight":1,
"source":0,
"target":75
},
{
"date":1925,
"edge weight":1,
"source":1,
"target":160
},
{
"date":1853,
"edge weight":1,
"source":1,
"target":167
},
{
"date":1881,
"edge weight":1,
"source":2,
"target":100
},
{
"date":1837,
"edge weight":1,
"source":2,
"target":131
},
{
"date":1909,
"edge weight":1,
"source":3,
"target":162
},
{
"date":1861,
"edge weight":1,
"source":4,
"target":144
},
{
"date":2017,
"edge weight":1,
"source":5,
"target":12
},
{
"date":1913,
"edge weight":1,
"source":6,
"target":35
},
{
"date":1797,
"edge weight":1,
"source":7,
"target":188
},
{
"date":2013,
"edge weight":1,
"source":8,
"target":9
},
{
"date":2013,
"edge weight":1,
"source":8,
"target":103
},
{
"date":2009,
"edge weight":1,
"source":8,
"target":127
},
{
"date":2013,
"edge weight":1,
"source":8,
"target":21
},
{
"date":1973,
"edge weight":2,
"source":9,
"target":139
},
{
"date":1873,
"edge weight":1,
"source":9,
"target":46
},
{
"date":1877,
"edge weight":1,
"source":9,
"target":54
},
{
"date":1821,
"edge weight":2,
"source":9,
"target":10
},
{
"date":1881,
"edge weight":1,
"source":9,
"target":100
},
{
"date":1989,
"edge weight":2,
"source":9,
"target":84
},
{
"date":1905,
"edge weight":1,
"source":9,
"target":53
},
{
"date":1937,
"edge weight":1,
"source":9,
"target":19
},
{
"date":1977,
"edge weight":1,
"source":9,
"target":198
},
{
"date":1821,
"edge weight":1,
"source":10,
"target":196
},
{
"date":1817,
"edge weight":1,
"source":10,
"target":132
},
{
"date":1817,
"edge weight":1,
"source":10,
"target":28
},
{
"date":1821,
"edge weight":1,
"source":10,
"target":97
},
{
"date":1817,
"edge weight":1,
"source":10,
"target":47
},
{
"date":1817,
"edge weight":1,
"source":10,
"target":74
},
{
"date":1817,
"edge weight":1,
"source":10,
"target":99
},
{
"date":1817,
"edge weight":1,
"source":10,
"target":155
},
{
"date":1821,
"edge weight":1,
"source":10,
"target":138
},
{
"date":1821,
"edge weight":1,
"source":10,
"target":148
},
{
"date":1821,
"edge weight":1,
"source":10,
"target":90
},
{
"date":1821,
"edge weight":1,
"source":10,
"target":56
},
{
"date":1821,
"edge weight":1,
"source":10,
"target":185
},
{
"date":1821,
"edge weight":1,
"source":10,
"target":129
},
{
"date":1821,
"edge weight":1,
"source":10,
"target":130
},
{
"date":1817,
"edge weight":1,
"source":10,
"target":80
},
{
"date":1817,
"edge weight":1,
"source":10,
"target":120
},
{
"date":1821,
"edge weight":1,
"source":10,
"target":125
},
{
"date":1817,
"edge weight":1,
"source":10,
"target":36
},
{
"date":1821,
"edge weight":1,
"source":10,
"target":134
},
{
"date":1817,
"edge weight":1,
"source":10,
"target":189
},
{
"date":1821,
"edge weight":1,
"source":10,
"target":190
},
{
"date":1817,
"edge weight":1,
"source":10,
"target":106
},
{
"date":1821,
"edge weight":1,
"source":10,
"target":61
},
{
"date":1821,
"edge weight":1,
"source":10,
"target":88
},
{
"date":1821,
"edge weight":1,
"source":10,
"target":170
},
{
"date":1821,
"edge weight":1,
"source":10,
"target":48
},
{
"date":1821,
"edge weight":1,
"source":10,
"target":38
},
{
"date":1821,
"edge weight":1,
"source":10,
"target":39
},
{
"date":1821,
"edge weight":1,
"source":10,
"target":173
},
{
"date":1821,
"edge weight":1,
"source":10,
"target":112
},
{
"date":1821,
"edge weight":1,
"source":10,
"target":20
},
{
"date":1817,
"edge weight":1,
"source":10,
"target":113
},
{
"date":1817,
"edge weight":2,
"source":10,
"target":175
},
{
"date":1993,
"edge weight":1,
"source":11,
"target":25
},
{
"date":1997,
"edge weight":1,
"source":11,
"target":133
},
{
"date":2017,
"edge weight":1,
"source":12,
"target":77
},
{
"date":2017,
"edge weight":1,
"source":12,
"target":87
},
{
"date":2017,
"edge weight":1,
"source":12,
"target":57
},
{
"date":1925,
"edge weight":2,
"source":13,
"target":160
},
{
"date":1937,
"edge weight":1,
"source":14,
"target":19
},
{
"date":1909,
"edge weight":1,
"source":15,
"target":162
},
{
"date":1853,
"edge weight":1,
"source":16,
"target":167
},
{
"date":1909,
"edge weight":1,
"source":17,
"target":162
},
{
"date":1873,
"edge weight":1,
"source":18,
"target":46
},
{
"date":1985,
"edge weight":1,
"source":18,
"target":102
},
{
"date":1937,
"edge weight":1,
"source":19,
"target":79
},
{
"date":1933,
"edge weight":1,
"source":19,
"target":24
},
{
"date":1941,
"edge weight":1,
"source":19,
"target":190
},
{
"date":1937,
"edge weight":1,
"source":19,
"target":98
},
{
"date":1933,
"edge weight":1,
"source":19,
"target":152
},
{
"date":1945,
"edge weight":1,
"source":19,
"target":178
},
{
"date":1829,
"edge weight":1,
"source":20,
"target":123
},
{
"date":1841,
"edge weight":1,
"source":20,
"target":156
},
{
"date":1825,
"edge weight":2,
"source":20,
"target":137
},
{
"date":1849,
"edge weight":1,
"source":20,
"target":109
},
{
"date":1845,
"edge weight":1,
"source":20,
"target":110
},
{
"date":1909,
"edge weight":1,
"source":22,
"target":162
},
{
"date":1841,
"edge weight":1,
"source":23,
"target":156
},
{
"date":1797,
"edge weight":1,
"source":26,
"target":188
},
{
"date":1977,
"edge weight":1,
"source":27,
"target":198
},
{
"date":1893,
"edge weight":1,
"source":27,
"target":59
},
{
"date":1953,
"edge weight":1,
"source":29,
"target":116
},
{
"date":1913,
"edge weight":2,
"source":30,
"target":35
},
{
"date":1929,
"edge weight":1,
"source":31,
"target":174
},
{
"date":1957,
"edge weight":1,
"source":32,
"target":116
},
{
"date":1925,
"edge weight":2,
"source":32,
"target":160
},
{
"date":1865,
"edge weight":1,
"source":33,
"target":144
},
{
"date":1889,
"edge weight":1,
"source":34,
"target":62
},
{
"date":1917,
"edge weight":1,
"source":35,
"target":145
},
{
"date":1913,
"edge weight":1,
"source":35,
"target":105
},
{
"date":1917,
"edge weight":1,
"source":35,
"target":48
},
{
"date":1913,
"edge weight":1,
"source":35,
"target":49
},
{
"date":1917,
"edge weight":1,
"source":35,
"target":124
},
{
"date":1917,
"edge weight":1,
"source":35,
"target":104
},
{
"date":1913,
"edge weight":1,
"source":35,
"target":165
},
{
"date":1913,
"edge weight":1,
"source":35,
"target":183
},
{
"date":1797,
"edge weight":1,
"source":37,
"target":188
},
{
"date":1897,
"edge weight":1,
"source":40,
"target":95
},
{
"date":1901,
"edge weight":1,
"source":40,
"target":57
},
{
"date":1901,
"edge weight":1,
"source":40,
"target":83
},
{
"date":1897,
"edge weight":1,
"source":40,
"target":124
},
{
"date":1897,
"edge weight":1,
"source":40,
"target":89
},
{
"date":1901,
"edge weight":1,
"source":40,
"target":155
},
{
"date":1897,
"edge weight":1,
"source":40,
"target":157
},
{
"date":1897,
"edge weight":1,
"source":40,
"target":143
},
{
"date":1897,
"edge weight":1,
"source":40,
"target":47
},
{
"date":1901,
"edge weight":1,
"source":40,
"target":104
},
{
"date":1901,
"edge weight":1,
"source":40,
"target":163
},
{
"date":1897,
"edge weight":1,
"source":40,
"target":130
},
{
"date":1897,
"edge weight":1,
"source":40,
"target":50
},
{
"date":1857,
"edge weight":1,
"source":41,
"target":168
},
{
"date":1833,
"edge weight":1,
"source":42,
"target":123
},
{
"date":1985,
"edge weight":1,
"source":43,
"target":102
},
{
"date":1889,
"edge weight":1,
"source":44,
"target":62
},
{
"date":1985,
"edge weight":1,
"source":45,
"target":102
},
{
"date":1873,
"edge weight":1,
"source":46,
"target":143
},
{
"date":1869,
"edge weight":1,
"source":46,
"target":121
},
{
"date":1869,
"edge weight":1,
"source":46,
"target":111
},
{
"date":1889,
"edge weight":1,
"source":47,
"target":62
},
{
"date":1861,
"edge weight":1,
"source":47,
"target":144
},
{
"date":1825,
"edge weight":1,
"source":49,
"target":137
},
{
"date":1877,
"edge weight":1,
"source":50,
"target":54
},
{
"date":1921,
"edge weight":1,
"source":51,
"target":75
},
{
"date":1841,
"edge weight":1,
"source":52,
"target":156
},
{
"date":1905,
"edge weight":1,
"source":53,
"target":79
},
{
"date":1905,
"edge weight":1,
"source":53,
"target":93
},
{
"date":1877,
"edge weight":1,
"source":54,
"target":56
},
{
"date":1877,
"edge weight":1,
"source":54,
"target":83
},
{
"date":1877,
"edge weight":1,
"source":54,
"target":183
},
{
"date":1877,
"edge weight":1,
"source":54,
"target":60
},
{
"date":1861,
"edge weight":1,
"source":55,
"target":144
},
{
"date":2001,
"edge weight":1,
"source":58,
"target":68
},
{
"date":2001,
"edge weight":1,
"source":58,
"target":163
},
{
"date":2005,
"edge weight":1,
"source":58,
"target":191
},
{
"date":2005,
"edge weight":1,
"source":58,
"target":151
},
{
"date":2001,
"edge weight":1,
"source":58,
"target":96
},
{
"date":2005,
"edge weight":1,
"source":58,
"target":72
},
{
"date":1885,
"edge weight":1,
"source":59,
"target":124
},
{
"date":1889,
"edge weight":1,
"source":62,
"target":186
},
{
"date":1889,
"edge weight":1,
"source":62,
"target":125
},
{
"date":1889,
"edge weight":1,
"source":62,
"target":165
},
{
"date":1889,
"edge weight":2,
"source":62,
"target":184
},
{
"date":1889,
"edge weight":1,
"source":62,
"target":92
},
{
"date":1889,
"edge weight":1,
"source":62,
"target":193
},
{
"date":1925,
"edge weight":1,
"source":63,
"target":160
},
{
"date":1825,
"edge weight":1,
"source":64,
"target":137
},
{
"date":1837,
"edge weight":1,
"source":65,
"target":131
},
{
"date":1909,
"edge weight":1,
"source":66,
"target":162
},
{
"date":1841,
"edge weight":1,
"source":67,
"target":156
},
{
"date":1949,
"edge weight":1,
"source":69,
"target":158
},
{
"date":1921,
"edge weight":1,
"source":70,
"target":75
},
{
"date":1989,
"edge weight":1,
"source":71,
"target":84
},
{
"date":1801,
"edge weight":1,
"source":73,
"target":169
},
{
"date":1921,
"edge weight":1,
"source":75,
"target":177
},
{
"date":1921,
"edge weight":1,
"source":75,
"target":126
},
{
"date":1921,
"edge weight":1,
"source":75,
"target":76
},
{
"date":1989,
"edge weight":1,
"source":77,
"target":84
},
{
"date":1853,
"edge weight":1,
"source":78,
"target":167
},
{
"date":1965,
"edge weight":1,
"source":79,
"target":146
},
{
"date":1857,
"edge weight":1,
"source":80,
"target":168
},
{
"date":1957,
"edge weight":1,
"source":81,
"target":116
},
{
"date":1857,
"edge weight":1,
"source":81,
"target":168
},
{
"date":1881,
"edge weight":1,
"source":81,
"target":100
},
{
"date":1969,
"edge weight":1,
"source":82,
"target":139
},
{
"date":1989,
"edge weight":1,
"source":84,
"target":171
},
{
"date":1989,
"edge weight":1,
"source":84,
"target":192
},
{
"date":1989,
"edge weight":1,
"source":84,
"target":115
},
{
"date":1957,
"edge weight":1,
"source":85,
"target":116
},
{
"date":1837,
"edge weight":1,
"source":86,
"target":131
},
{
"date":1797,
"edge weight":1,
"source":90,
"target":188
},
{
"date":1981,
"edge weight":1,
"source":91,
"target":102
},
{
"date":1845,
"edge weight":2,
"source":94,
"target":110
},
{
"date":1837,
"edge weight":1,
"source":94,
"target":131
},
{
"date":1881,
"edge weight":1,
"source":100,
"target":132
},
{
"date":1881,
"edge weight":1,
"source":100,
"target":180
},
{
"date":1881,
"edge weight":1,
"source":100,
"target":141
},
{
"date":1881,
"edge weight":1,
"source":100,
"target":182
},
{
"date":1881,
"edge weight":1,
"source":100,
"target":126
},
{
"date":1881,
"edge weight":1,
"source":100,
"target":183
},
{
"date":1881,
"edge weight":1,
"source":100,
"target":124
},
{
"date":1969,
"edge weight":1,
"source":101,
"target":139
},
{
"date":1985,
"edge weight":1,
"source":102,
"target":143
},
{
"date":1981,
"edge weight":1,
"source":102,
"target":176
},
{
"date":1909,
"edge weight":1,
"source":107,
"target":162
},
{
"date":1957,
"edge weight":1,
"source":108,
"target":116
},
{
"date":1845,
"edge weight":1,
"source":110,
"target":132
},
{
"date":1845,
"edge weight":1,
"source":110,
"target":197
},
{
"date":1949,
"edge weight":1,
"source":114,
"target":158
},
{
"date":1965,
"edge weight":1,
"source":115,
"target":146
},
{
"date":1841,
"edge weight":1,
"source":117,
"target":156
},
{
"date":1825,
"edge weight":1,
"source":118,
"target":137
},
{
"date":1925,
"edge weight":1,
"source":119,
"target":160
},
{
"date":1841,
"edge weight":1,
"source":122,
"target":156
},
{
"date":1833,
"edge weight":1,
"source":123,
"target":185
},
{
"date":1857,
"edge weight":1,
"source":124,
"target":168
},
{
"date":1969,
"edge weight":1,
"source":124,
"target":139
},
{
"date":1853,
"edge weight":1,
"source":124,
"target":167
},
{
"date":1925,
"edge weight":1,
"source":124,
"target":160
},
{
"date":1925,
"edge weight":1,
"source":128,
"target":160
},
{
"date":1837,
"edge weight":1,
"source":131,
"target":177
},
{
"date":1841,
"edge weight":1,
"source":135,
"target":156
},
{
"date":1929,
"edge weight":1,
"source":136,
"target":174
},
{
"date":1973,
"edge weight":1,
"source":139,
"target":184
},
{
"date":1973,
"edge weight":1,
"source":139,
"target":163
},
{
"date":1853,
"edge weight":1,
"source":140,
"target":167
},
{
"date":1909,
"edge weight":1,
"source":142,
"target":162
},
{
"date":1841,
"edge weight":1,
"source":147,
"target":156
},
{
"date":1841,
"edge weight":1,
"source":149,
"target":156
},
{
"date":1841,
"edge weight":1,
"source":150,
"target":156
},
{
"date":1909,
"edge weight":1,
"source":152,
"target":162
},
{
"date":1841,
"edge weight":1,
"source":153,
"target":156
},
{
"date":1857,
"edge weight":1,
"source":154,
"target":168
},
{
"date":1841,
"edge weight":1,
"source":156,
"target":181
},
{
"date":1841,
"edge weight":1,
"source":156,
"target":199
},
{
"date":1841,
"edge weight":1,
"source":156,
"target":197
},
{
"date":1841,
"edge weight":2,
"source":156,
"target":172
},
{
"date":1841,
"edge weight":1,
"source":156,
"target":161
},
{
"date":1925,
"edge weight":1,
"source":159,
"target":160
},
{
"date":1925,
"edge weight":1,
"source":160,
"target":187
},
{
"date":1925,
"edge weight":1,
"source":160,
"target":161
},
{
"date":1853,
"edge weight":1,
"source":164,
"target":167
},
{
"date":1857,
"edge weight":1,
"source":166,
"target":168
},
{
"date":1853,
"edge weight":1,
"source":167,
"target":179
},
{
"date":1853,
"edge weight":1,
"source":167,
"target":185
},
{
"date":1805,
"edge weight":1,
"source":169,
"target":185
},
{
"date":1929,
"edge weight":1,
"source":174,
"target":196
},
{
"date":1789,
"edge weight":1,
"source":194,
"target":195
}
],
"multigraph":false,
"nodes":[
{
"bipartite":1,
"id":"blotches"
},
{
"bipartite":1,
"id":"conflict"
},
{
"bipartite":1,
"id":"experiment"
},
{
"bipartite":1,
"id":"combinations"
},
{
"bipartite":1,
"id":"success"
},
{
"bipartite":1,
"id":"schools"
},
{
"bipartite":1,
"id":"thing"
},
{
"bipartite":1,
"id":"outlines"
},
{
"bipartite":0,
"id":"Barack Obama"
},
{
"bipartite":1,
"id":"nation"
},
{
"bipartite":0,
"id":"James Monroe"
},
{
"bipartite":0,
"id":"Bill Clinton"
},
{
"bipartite":0,
"id":"Donald Trump"
},
{
"bipartite":1,
"id":"deal"
},
{
"bipartite":1,
"id":"continent"
},
{
"bipartite":1,
"id":"river"
},
{
"bipartite":1,
"id":"mission"
},
{
"bipartite":1,
"id":"railways"
},
{
"bipartite":1,
"id":"honor"
},
{
"bipartite":0,
"id":"Franklin D. Roosevelt"
},
{
"bipartite":1,
"id":"interests"
},
{
"bipartite":1,
"id":"country"
},
{
"bipartite":1,
"id":"force"
},
{
"bipartite":1,
"id":"divisions"
},
{
"bipartite":1,
"id":"number"
},
{
"bipartite":1,
"id":"enterprises"
},
{
"bipartite":1,
"id":"example"
},
{
"bipartite":1,
"id":"responsibility"
},
{
"bipartite":1,
"id":"cause"
},
{
"bipartite":1,
"id":"events"
},
{
"bipartite":1,
"id":"government"
},
{
"bipartite":1,
"id":"civilization"
},
{
"bipartite":1,
"id":"nations"
},
{
"bipartite":1,
"id":"contest"
},
{
"bipartite":1,
"id":"aggregate"
},
{
"bipartite":0,
"id":"Woodrow Wilson"
},
{
"bipartite":1,
"id":"amount"
},
{
"bipartite":1,
"id":"actions"
},
{
"bipartite":1,
"id":"waters"
},
{
"bipartite":1,
"id":"power"
},
{
"bipartite":0,
"id":"William McKinley"
},
{
"bipartite":1,
"id":"office"
},
{
"bipartite":1,
"id":"hands"
},
{
"bipartite":1,
"id":"emancipation‰ÛÓa"
},
{
"bipartite":1,
"id":"associates"
},
{
"bipartite":1,
"id":"challenge"
},
{
"bipartite":0,
"id":"Ulysses S. Grant"
},
{
"bipartite":1,
"id":"body"
},
{
"bipartite":1,
"id":"struggle"
},
{
"bipartite":1,
"id":"system"
},
{
"bipartite":1,
"id":"value"
},
{
"bipartite":1,
"id":"world"
},
{
"bipartite":1,
"id":"principle"
},
{
"bipartite":0,
"id":"Theodore Roosevelt"
},
{
"bipartite":0,
"id":"Ruherford B. Hayes"
},
{
"bipartite":1,
"id":"tribunal"
},
{
"bipartite":1,
"id":"purpose"
},
{
"bipartite":1,
"id":"prosperity"
},
{
"bipartite":0,
"id":"George W. Bush"
},
{
"bipartite":0,
"id":"Grover Cleveland"
},
{
"bipartite":1,
"id":"blessings"
},
{
"bipartite":1,
"id":"inlets"
},
{
"bipartite":0,
"id":"Benjamin Harrison"
},
{
"bipartite":1,
"id":"contributions"
},
{
"bipartite":1,
"id":"result"
},
{
"bipartite":1,
"id":"precision"
},
{
"bipartite":1,
"id":"protection"
},
{
"bipartite":1,
"id":"error"
},
{
"bipartite":1,
"id":"things"
},
{
"bipartite":1,
"id":"fears"
},
{
"bipartite":1,
"id":"storm"
},
{
"bipartite":1,
"id":"effect"
},
{
"bipartite":1,
"id":"objective"
},
{
"bipartite":1,
"id":"consolation"
},
{
"bipartite":1,
"id":"encouragement"
},
{
"bipartite":0,
"id":"Warren G. Harding"
},
{
"bipartite":1,
"id":"truths"
},
{
"bipartite":1,
"id":"men"
},
{
"bipartite":1,
"id":"scheme"
},
{
"bipartite":1,
"id":"wealth"
},
{
"bipartite":1,
"id":"family"
},
{
"bipartite":1,
"id":"evil"
},
{
"bipartite":1,
"id":"cathedral"
},
{
"bipartite":1,
"id":"importance"
},
{
"bipartite":0,
"id":"George H. W. Bush"
},
{
"bipartite":1,
"id":"concerns"
},
{
"bipartite":1,
"id":"point"
},
{
"bipartite":1,
"id":"america"
},
{
"bipartite":1,
"id":"consideration"
},
{
"bipartite":1,
"id":"emergencies"
},
{
"bipartite":1,
"id":"satisfaction"
},
{
"bipartite":1,
"id":"proportions"
},
{
"bipartite":1,
"id":"mining"
},
{
"bipartite":1,
"id":"crises"
},
{
"bipartite":1,
"id":"mass"
},
{
"bipartite":1,
"id":"permanence"
},
{
"bipartite":1,
"id":"love"
},
{
"bipartite":1,
"id":"strength"
},
{
"bipartite":1,
"id":"decision"
},
{
"bipartite":1,
"id":"community"
},
{
"bipartite":0,
"id":"Andrew Garfield"
},
{
"bipartite":1,
"id":"forces"
},
{
"bipartite":0,
"id":"Ronald Reagan"
},
{
"bipartite":1,
"id":"mall"
},
{
"bipartite":1,
"id":"task"
},
{
"bipartite":1,
"id":"business"
},
{
"bipartite":1,
"id":"causes"
},
{
"bipartite":1,
"id":"improvement"
},
{
"bipartite":1,
"id":"fate"
},
{
"bipartite":0,
"id":"Zachary Taylor"
},
{
"bipartite":0,
"id":"James K. Polk"
},
{
"bipartite":1,
"id":"rebellion"
},
{
"bipartite":1,
"id":"annoyance"
},
{
"bipartite":1,
"id":"injury"
},
{
"bipartite":1,
"id":"hopes"
},
{
"bipartite":1,
"id":"land"
},
{
"bipartite":0,
"id":"Dwight D. Eisenhower"
},
{
"bipartite":1,
"id":"excitement"
},
{
"bipartite":1,
"id":"features"
},
{
"bipartite":1,
"id":"burden"
},
{
"bipartite":1,
"id":"dangers"
},
{
"bipartite":1,
"id":"debt"
},
{
"bipartite":1,
"id":"alarm"
},
{
"bipartite":0,
"id":"Andrew Jackson"
},
{
"bipartite":1,
"id":"people"
},
{
"bipartite":1,
"id":"resources"
},
{
"bipartite":1,
"id":"possibilities"
},
{
"bipartite":1,
"id":"gift"
},
{
"bipartite":1,
"id":"duty"
},
{
"bipartite":1,
"id":"extent"
},
{
"bipartite":1,
"id":"emergency"
},
{
"bipartite":0,
"id":"Martin Van Buren"
},
{
"bipartite":1,
"id":"object"
},
{
"bipartite":1,
"id":"debate"
},
{
"bipartite":1,
"id":"measures"
},
{
"bipartite":1,
"id":"bulwark"
},
{
"bipartite":1,
"id":"period"
},
{
"bipartite":0,
"id":"John Quincy Adams"
},
{
"bipartite":1,
"id":"exertions"
},
{
"bipartite":0,
"id":"Richard Nixon"
},
{
"bipartite":1,
"id":"problem"
},
{
"bipartite":1,
"id":"change"
},
{
"bipartite":1,
"id":"controversy"
},
{
"bipartite":1,
"id":"republic"
},
{
"bipartite":0,
"id":"Abraham Lincoln"
},
{
"bipartite":1,
"id":"problems"
},
{
"bipartite":0,
"id":"Lyndon B. Johnson"
},
{
"bipartite":1,
"id":"portion"
},
{
"bipartite":1,
"id":"outline"
},
{
"bipartite":1,
"id":"difference"
},
{
"bipartite":1,
"id":"dread"
},
{
"bipartite":1,
"id":"institutions"
},
{
"bipartite":1,
"id":"army"
},
{
"bipartite":1,
"id":"difficulty"
},
{
"bipartite":1,
"id":"law"
},
{
"bipartite":1,
"id":"anxiety"
},
{
"bipartite":0,
"id":"William Henry Harrison"
},
{
"bipartite":1,
"id":"lines"
},
{
"bipartite":0,
"id":"Harry S. Truman"
},
{
"bipartite":1,
"id":"array"
},
{
"bipartite":0,
"id":"Calvin Coolidge"
},
{
"bipartite":1,
"id":"principles"
},
{
"bipartite":0,
"id":"William Howard Taft"
},
{
"bipartite":1,
"id":"responsibilities"
},
{
"bipartite":1,
"id":"oceans"
},
{
"bipartite":1,
"id":"part"
},
{
"bipartite":1,
"id":"evils"
},
{
"bipartite":0,
"id":"James Pierce"
},
{
"bipartite":0,
"id":"James Buchanan"
},
{
"bipartite":0,
"id":"Thomas Jefferson"
},
{
"bipartite":1,
"id":"advantage"
},
{
"bipartite":1,
"id":"show"
},
{
"bipartite":1,
"id":"increase"
},
{
"bipartite":1,
"id":"measure"
},
{
"bipartite":0,
"id":"Herbert Hoover"
},
{
"bipartite":1,
"id":"rivers"
},
{
"bipartite":1,
"id":"deeds"
},
{
"bipartite":1,
"id":"weight"
},
{
"bipartite":1,
"id":"fact"
},
{
"bipartite":1,
"id":"changes"
},
{
"bipartite":1,
"id":"promise"
},
{
"bipartite":1,
"id":"danger"
},
{
"bipartite":1,
"id":"sea"
},
{
"bipartite":1,
"id":"trust"
},
{
"bipartite":1,
"id":"powers"
},
{
"bipartite":1,
"id":"objects"
},
{
"bipartite":1,
"id":"corporations"
},
{
"bipartite":1,
"id":"movements"
},
{
"bipartite":0,
"id":"John Adams"
},
{
"bipartite":1,
"id":"work"
},
{
"bipartite":1,
"id":"perils"
},
{
"bipartite":1,
"id":"purposes"
},
{
"bipartite":1,
"id":"parties"
},
{
"bipartite":1,
"id":"department"
},
{
"bipartite":0,
"id":"George Washington"
},
{
"bipartite":1,
"id":"assemblage"
},
{
"bipartite":1,
"id":"progress"
},
{
"bipartite":1,
"id":"diversity"
},
{
"bipartite":0,
"id":"Jimmy Carter"
},
{
"bipartite":1,
"id":"abilities"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment