Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
176 commits
Select commit Hold shift + click to select a range
e0c04c0
Add files via upload
marypy Sep 27, 2018
1ff4f48
Delete site_agata.png
marypy Sep 27, 2018
7706d4f
Delete taupe.jpg
marypy Sep 27, 2018
dc90fe5
Delete sample-studios.png
marypy Sep 27, 2018
e21c5f6
Add files via upload
marypy Oct 1, 2018
b8efd19
Add files via upload
marypy Oct 1, 2018
93c5b3e
Update learn.html
marypy Oct 1, 2018
21cfcdb
Update learn.html
marypy Oct 1, 2018
5e48759
Update learn.html
marypy Oct 1, 2018
c1b9794
Update learn.html
marypy Oct 1, 2018
490fc2c
Update learn.html
marypy Oct 1, 2018
ed1affb
Update main.css
marypy Oct 1, 2018
565d77e
Update learn.html
marypy Oct 2, 2018
0605fa1
Update learn.html
marypy Oct 2, 2018
803c56a
Update learn.html
marypy Oct 2, 2018
abead45
Update learn.html
marypy Oct 2, 2018
4d76720
Add files via upload
marypy Oct 4, 2018
99a2f64
Update index.html
marypy Oct 4, 2018
bc4a1fa
Update index.html
marypy Oct 20, 2018
60f2f3b
Update main.css
marypy Oct 20, 2018
4bb4a89
Update learn.html
marypy Oct 29, 2018
481e94a
Update learn.html
marypy Oct 29, 2018
c7cea78
Update main.css
marypy Oct 29, 2018
c126e1e
Update main.css
marypy Oct 29, 2018
4638abc
Update main.css
marypy Oct 29, 2018
8f6dbc9
Update main.css
marypy Oct 29, 2018
cb1633a
Update learn.html
marypy Oct 29, 2018
54a1edb
Update learn.html
marypy Oct 29, 2018
c5da104
Update learn.html
marypy Oct 29, 2018
ae7120a
Update learn.html
marypy Oct 29, 2018
9908bd8
Update learn.html
marypy Oct 29, 2018
8568c72
Update learn.html
marypy Oct 29, 2018
2c746ac
Update learn.html
marypy Oct 29, 2018
ef3c2b9
Update learn.html
marypy Oct 29, 2018
b066548
Update main.css
marypy Oct 29, 2018
865ded5
Update main.css
marypy Oct 29, 2018
d6af65d
Update learn.html
marypy Oct 29, 2018
ae1087d
Update index.html
marypy Oct 29, 2018
34f7cb0
Update learn.html
marypy Oct 29, 2018
24b30fc
Update web_sites.html
marypy Oct 29, 2018
3d7b146
Update learn.html
marypy Oct 29, 2018
4d0f874
Update data_art.html
marypy Nov 18, 2018
c1d2905
Update data_art.html
marypy Nov 18, 2018
d19c15d
Update rest.html
marypy Nov 18, 2018
677924d
Add files via upload
marypy Nov 18, 2018
3d77d0d
Add files via upload
marypy Nov 18, 2018
9065de6
Delete presentation.html
marypy Nov 18, 2018
0eaeff5
Add files via upload
marypy Nov 18, 2018
d45a9e7
Update data_art.html
marypy Nov 19, 2018
01e606a
Update presentation.html
marypy Nov 20, 2018
5173704
Update presentation.html
marypy Nov 20, 2018
4e5ffc4
Update presentation.html
marypy Nov 20, 2018
2180e66
Update data_art.html
marypy Nov 20, 2018
1891ce4
Update presentation.html
marypy Nov 20, 2018
caea5d4
Update presentation.html
marypy Nov 20, 2018
d00c96a
Update presentation.html
marypy Nov 20, 2018
21d3dbf
Update presentation.html
marypy Nov 20, 2018
54cb7c2
Update data_art.html
marypy Nov 27, 2018
a49a1a7
Update README.md
marypy Nov 27, 2018
d789db4
Update learn.html
marypy Jan 4, 2019
1dd677e
Add files via upload
marypy Jan 10, 2019
46a0ed7
Update p5_d3.html
marypy Jan 10, 2019
18eb107
Update circles2.html
marypy Jan 10, 2019
91e279d
Update circles2.html
marypy Jan 10, 2019
e33a45e
Add files via upload
marypy Jan 10, 2019
79a6e28
Update circles2.html
marypy Jan 10, 2019
66868b8
Update circles2.html
marypy Jan 10, 2019
a4b42c7
Update circles2.html
marypy Jan 10, 2019
dbd63b5
Update circles2.html
marypy Jan 10, 2019
ac27e29
Add files via upload
marypy Jan 10, 2019
fc61f5f
Update bar1.html
marypy Jan 10, 2019
dc21b99
Update bar1.html
marypy Jan 10, 2019
774379a
Update p5_d3.html
marypy Jan 10, 2019
dee1e94
Update bar1.html
marypy Jan 10, 2019
31cefb9
Update bar1.html
marypy Jan 10, 2019
3206ad2
Update bar1.html
marypy Jan 10, 2019
259f335
Update bar1.html
marypy Jan 10, 2019
c4f631c
Update p5_d3.html
marypy Jan 10, 2019
8dbfa8f
Update p5_d3.html
marypy Jan 10, 2019
1b5093c
Update p5_d3.html
marypy Jan 10, 2019
1c6079f
Update p5_d3.html
marypy Jan 10, 2019
1e0d5eb
Update p5_d3.html
marypy Jan 10, 2019
0815068
Update p5_d3.html
marypy Jan 11, 2019
cc8f1e2
Update circles2.html
marypy Jan 11, 2019
ce8cf58
Update p5_d3.html
marypy Jan 11, 2019
f246517
Update circles2.html
marypy Jan 11, 2019
6ce7e4e
Update bar1.html
marypy Jan 11, 2019
4a883fb
Add files via upload
marypy Jan 18, 2019
e62653e
Update scatterplot.html
marypy Jan 18, 2019
095e792
Update p5_d3.html
marypy Jan 18, 2019
719f521
Update scatterplot.html
marypy Jan 18, 2019
79c9a0d
Update scatterplot.html
marypy Jan 18, 2019
e2e7091
Update scatterplot.html
marypy Jan 18, 2019
914a863
Update scatterplot.html
marypy Jan 20, 2019
a6ac5e7
Update scatterplot.html
marypy Jan 20, 2019
ce2238d
Update scatterplot.html
marypy Jan 20, 2019
824515a
Update scatterplot.html
marypy Jan 20, 2019
416020c
Add files via upload
marypy Jan 23, 2019
b8657dd
Update p5_d3.html
marypy Jan 23, 2019
0d3272b
Update scatterplot2.html
marypy Jan 23, 2019
500ba7a
Update scatterplot2.html
marypy Jan 23, 2019
e4c2a69
Update scatterplot2.html
marypy Jan 23, 2019
87af9df
Update scatterplot2.html
marypy Jan 23, 2019
b120753
Update scatterplot2.html
marypy Jan 23, 2019
614b3aa
Update web_sites.html
marypy Jan 24, 2019
c857976
Update index.html
marypy Jan 25, 2019
f02bbbc
Add files via upload
marypy Jan 25, 2019
d833bc3
Update index.html
marypy Jan 29, 2019
98f8095
Update data_art.html
marypy Jan 29, 2019
a92d4bf
Update learn.html
marypy Jan 29, 2019
6a56f85
Update p5_d3.html
marypy Jan 29, 2019
915c834
Update rest.html
marypy Jan 29, 2019
27ef303
Update p5_d3.html
marypy Jan 30, 2019
0072d14
Update p5_d3.html
marypy Jan 30, 2019
808c5e4
Update rest.html
marypy Feb 5, 2019
ba2f2c7
Update rest.html
marypy Feb 5, 2019
02a960a
Update rest.html
marypy Feb 5, 2019
ee1040e
Update rest.html
marypy Feb 5, 2019
dcacc52
Update rest.html
marypy Feb 5, 2019
72c7f4b
Update rest.html
marypy Feb 5, 2019
190d62a
Update rest.html
marypy Feb 5, 2019
a4657a1
Update rest.html
marypy Feb 5, 2019
eed213c
Update rest.html
marypy Feb 5, 2019
245fc1d
Update rest.html
marypy Feb 5, 2019
085cae1
Update rest.html
marypy Feb 5, 2019
5079fcc
Update main.css
marypy Feb 5, 2019
8139373
Update rest.html
marypy Feb 7, 2019
fb3ea75
Update p5_d3.html
marypy Feb 9, 2019
21ec8e1
Update p5_d3.html
marypy Feb 9, 2019
b51b2ab
Add files via upload
marypy Feb 10, 2019
8c9f7b2
Add files via upload
marypy Feb 10, 2019
6b48ff2
Delete p5_3.html
marypy Feb 10, 2019
85cf683
Delete p5_2.html
marypy Feb 10, 2019
e1e1d54
Delete p5_1.html
marypy Feb 10, 2019
a14d980
Update p5_d3.html
marypy Feb 10, 2019
4a8cfa1
Add files via upload
marypy Feb 25, 2019
13eb773
Update p5_d3.html
marypy Feb 25, 2019
adf8315
Update line_dogs.html
marypy Feb 25, 2019
2d1c234
Update line_dogs.html
marypy Feb 25, 2019
fb17c87
Update line_dogs.html
marypy Feb 25, 2019
ac8d25e
Update line_dogs.html
marypy Feb 25, 2019
aa11a7d
Update p5_d3.html
marypy Feb 26, 2019
57f66d9
Update line_dogs.html
marypy Feb 26, 2019
3930536
Update line_dogs.html
marypy Jun 2, 2019
08c851d
Add files via upload
marypy Jun 2, 2019
da8f1bd
Update line_dogs.html
marypy Jun 2, 2019
e039fac
Delete d3.js
marypy Jun 2, 2019
fcac38b
Update line_dogs.html
marypy Jun 2, 2019
8896e14
Add files via upload
marypy Jun 2, 2019
811524a
Update line_dogs.html
marypy Jun 2, 2019
40cbe0b
Add files via upload
marypy Jun 2, 2019
8e567b6
Update line_dogs.html
marypy Jun 2, 2019
b910aba
Create thesis.html
marypy Aug 29, 2019
20b86b6
Create thesis1.html
marypy Aug 29, 2019
21496f1
Add files via upload
marypy Aug 29, 2019
4f265cd
Create articles1.html
marypy Sep 4, 2019
9276dcd
Create articles.html
marypy Sep 4, 2019
5435677
Update p5_d3.html
marypy Sep 4, 2019
3f906cb
Update p5_d3.html
marypy Sep 4, 2019
5955771
Update p5_d3.html
marypy Sep 4, 2019
3cbd204
Update index.html
marypy Sep 10, 2019
396eee1
Update web_sites.html
marypy Sep 11, 2019
1f7658a
Add files via upload
marypy Sep 11, 2019
a6be3d2
Add files via upload
marypy Sep 11, 2019
2c3cd64
Add files via upload
marypy Sep 11, 2019
4212bcb
Add files via upload
marypy Sep 11, 2019
512fd31
Add files via upload
marypy Sep 11, 2019
63b49ea
Update p5_d3.html
marypy Sep 11, 2019
1d2ebbb
Update p5_d3.html
marypy Sep 11, 2019
9078393
Add files via upload
marypy Sep 11, 2019
37bc86c
Update p5_1.html
marypy Sep 13, 2019
be6ef3c
Update p5_1.html
marypy Sep 13, 2019
4a1dedb
Update python.html
marypy Sep 14, 2019
d12009a
Update index.html
marypy Sep 14, 2019
38e84a9
Update index.html
marypy Sep 14, 2019
7a02fb6
Update p5_1.html
marypy Sep 14, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# ma_dah
This site is a work in progress on the purpose of my studies on MA Digital Arts & Humanities, University College of Cork, 2018/2019.
This site is a work in progress on the purpose of my studies on MA Digital Arts & Humanities, University College of Cork, 2018/2019. The site is published on: https://marypy.github.io/ma_dah/
17 changes: 17 additions & 0 deletions animation/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>animation</title>
<script src="../libraries/p5.js" type="text/javascript"></script>

<script src="../libraries/p5.dom.js" type="text/javascript"></script>
<script src="../libraries/p5.sound.js" type="text/javascript"></script>

<script src="sketch.js" type="text/javascript"></script>

<style> body {padding: 0; margin: 0;} canvas {vertical-align: top;} </style>
</head>
<body>
</body>
</html>
27 changes: 27 additions & 0 deletions animation/sketch.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
var x = 0;
var y = 0;
var targetX = 0;
var targetY = 0;

function setup() {
createCanvas(1400, 950);
}

function draw() {
background(255);
ellipse(x, y, 50, 50);
//line(x, 0, x, height);

var easing = 0.1;

var diffX = targetX - x;
x += diffX * easing;

var diffY = targetY - y;
y += diffY * easing;
}

function mousePressed() {
targetX = mouseX;
targetY = mouseY;
}
215 changes: 215 additions & 0 deletions articles.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,215 @@
<!DOCTYPE html>
<meta charset="utf-8">
<style> /* set the CSS */
body { font: 12px Arial;}

p {
margin-left: 60px;
margin-right: 60px;
font-size: 1.2em;
line-height: 1.6em;


}
path {
stroke-width: 1;
fill: none;
}

.axis path,
.axis line {
fill: none;
stroke: grey;
stroke-width: 1;
shape-rendering: crispEdges;
}

div.tooltip {
position: absolute;
text-align: center;
width: 60px;
height: 40px;
padding: 2px;
font: 14px sans-serif;
background: sandybrown;
line-height: 1.5em;
border: 0px;
border-radius: 8px;
pointer-events: none;
}
#tooltip_g{
background: lightsteelblue;
}

h1{

font-size: 1.5em;
margin-left: 60px;
}
.title {
margin-top:0;
float:left;

}
.title>span{
font-size: 60px;
font-weight: 500;
}

</style>

<body>
<h1>The monthly frequency of titles about autism and mental/learning disability in Le Monde and The Guardian, between 2008 and mid-2019 </h1>


<!-- load the d3.js library -->
<script src="https://d3js.org/d3.v3.min.js"></script>
<!-- <script type="text/javascript" src="d3.min.js"></script>
<script type="text/javascript" src="d3.js"></script> -->

<script>
// Set the dimensions of the canvas / graph
var margin = {top: 10, right: 10, bottom: 30, left: 30},
width = 1400 - margin.left - margin.right,
height = 700 - margin.top - margin.bottom;
// Parse the date / time
var parseDate = d3.time.format("%Y-%m").parse;
// Set the ranges
var x = d3.time.scale().range([0, width]);
var y = d3.scale.linear().range([height, 0]);
// Define the axes
var xAxis = d3.svg.axis().scale(x)
.orient("bottom")
.ticks(d3.time.date,1)
.tickFormat(d3.time.format('%Y'))
.tickSubdivide(12);
const yAxis = d3.svg.axis().scale(y)
.orient("left").ticks(23);
//define the tooltip's div
const div = d3.select("body").append("div")
.attr("class", "tooltip")
.style("opacity", 0);

const div_g = d3.select("body").append("div")
.attr("class", "tooltip")
.attr("id", "tooltip_g")
.style("opacity", 0)

const formatTime = d3.time.format("%Y-%m");

// Define the lemonde line
const lemondeline = d3.svg.line()
.x(function(d) { return x(d.date);})
.y(function(d) { return y(d.lemonde); });

// Define the theguardian line
const theguardianline = d3.svg.line()
.x(function(d) { return x(d.date);})
.y(function(d) { return y(d.theguardian); });

// Adds the svg canvas
var chart1 = d3.select("body")
.append("svg")
.attr("width", width + margin.left +100+ margin.right)
.attr("height", height + margin.top + margin.bottom)
.append("g")
.attr("transform",
"translate(" + margin.left + "," + margin.top + ")");

// Get the data
d3.csv("data.csv", function(error, data) {
data.forEach(function(d) {
d.date = parseDate(d.date);
d.lemonde = +d.lemonde;
d.theguardian = +d.theguardian;
});
// Scale the range of the data
x.domain(d3.extent(data, function(d) { return d.date; }));
y.domain([0, d3.max(data, function(d) { return d.theguardian; })]);

// Add the tooltip
chart1.selectAll("dot")
.data(data)
.enter().append("circle")
.attr("r", 4)
.style("fill", "darkorange")
.attr("cx", function(d) { return x(d.date); })
.attr("cy", function(d) {
var foo = y(d.lemonde);
console.log("date: "+d.date+" – lemonde ("+d.lemonde+") cy: "+foo);
return foo;
})
.on("mouseover", function(d) {
div.transition()
.duration(200)
.style("opacity", .9);
div .html(formatTime(d.date) + "<br/>" + d.lemonde)
.style("left", (d3.event.pageX) + "px")
.style("top", (d3.event.pageY - 28) + "px");
})
.on("mouseout", function(d) {
div.transition()
.duration(500)
.style("opacity", 0);
});
chart1.selectAll("dot")
.data(data)
.enter().append("circle")
.attr("r", 4)
.style("fill", "steelblue")
.attr("cx", function(d) { return x(d.date); })
.attr("cy", function(d) {
var foo = y(d.theguardian);
console.log("date: "+d.date+" – guardian ("+d.theguardian+") cy: "+foo);
return foo;
})
.on("mouseover", function(d) {
div_g.transition()
.duration(200)
.style("opacity", .9);
div_g.html(formatTime(d.date) + "<br/>" + d.theguardian)
.style("left", (d3.event.pageX) + "px")
.style("top", (d3.event.pageY - 28) + "px");
})
.on("mouseout", function(d) {
div_g.transition()
.duration(500)
.style("opacity", 0);
});

// Add the X Axis
chart1.append("g")
.attr("class", "x axis")
.attr("transform", "translate(0," + height + ")")
.call(xAxis);
// Add the Y Axis
chart1.append("g")
.attr("class", "y axis")
.call(yAxis);
});
</script>

<p class="title"><span style="color: steelblue">- </span>The Guardian</p>
<p class="title"> <span style="color:darkorange">- </span>Le Monde</p>
<br><br>
<div>
<p>
The peaks of the number of Le Monde articles correspond to the official communication's events: for instance, the first record
of 2 articles in May 2008 (while the rest of that years the topic is simply absent) coincides with First Autism Plan
initiated by French government in May 2008 (since then, there were three other “plans”); the unusual relatively high
frequency between December 2011 and March 2012 corresponds to the preparation and publication of a very critical French Hight
Authority of Health's report about autism; however, already in April 2012 the topic disappears, despite the fact
that April is declared the month of autism awareness; indeed, there is an impression that some “quota” exists for the
topic's related titles, fixed by an idea about the limits of audience interest for it;<br><br>
the overall number of peaks of number of articles about the topic is distinctively higher for The Guardian than for Le
Monde, also they are much higher: the first peak (within the chosen timeline) of the number of articles about the topic
in The Guardian corresponds to the UK Autism Bill of January 2009 (18 titles this month);<br><br>
while the peaks in visibility of the topic are present in both newspapers (with sensible numerical difference), The
Guardian demonstrates the stead tendency to increase of the interest toward the topic, while Le Monde seems to up-to-date
its interest regarding official declarations or the ritual 2nd of April (the international Autism Day): indeed the
frequency of titles increases almost every year around this date but the graph shows clearly that since 10 years the
visibility of the mental disability topic on the pages of Le Monde remains very law and barely the same.
</p>
</div>

</body>
Loading