Skip to content

Instantly share code, notes, and snippets.

@droneale
Last active June 10, 2016 04:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save droneale/63855b64522a7da729bc0c20dfab61fb to your computer and use it in GitHub Desktop.
Save droneale/63855b64522a7da729bc0c20dfab61fb to your computer and use it in GitHub Desktop.
RSNZ 2016 speakers - minutes on stage
date Male Speakers Female Speakers
4/02/16 60 0
9/02/16 120 0
1/03/16 180 0
15/03/16 195 0
15/03/16 195 15
15/03/16 210 15
15/03/16 225 15
15/03/16 285 15
17/03/16 300 15
17/03/16 300 30
17/03/16 315 30
17/03/16 330 30
21/03/16 345 30
21/03/16 345 45
21/03/16 360 45
21/03/16 375 45
22/03/16 390 45
22/03/16 405 45
22/03/16 405 60
22/03/16 420 60
7/05/16 480 60
11/05/16 480 120
12/05/16 480 180
13/05/16 480 240
14/05/16 480 300
15/05/16 480 360
19/05/16 480 420
27/05/16 540 420
5/07/16 570 420
5/07/16 600 420
5/07/16 630 420
5/07/16 660 420
6/07/16 690 420
6/07/16 720 420
7/07/16 750 420
7/07/16 780 420
12/07/16 840 420
13/07/16 900 420
3/08/16 930 420
3/08/16 960 420
4/08/16 990 420
4/08/16 1020 420
5/08/16 1050 420
5/08/16 1080 420
30/08/16 1140 420
31/08/16 1200 420
6/09/16 1230 420
6/09/16 1260 420
7/09/16 1290 420
7/09/16 1320 420
8/09/16 1350 420
8/09/16 1380 420
<!DOCTYPE html>
<meta charset="utf-8">
<title>Space to Speak: RSNZ Presenters 2016</title>
<style>
body {
font: 16px sans-serif;
width: 900px;
text-align: justify;
text-justify: inter-word;
}
.axis path,
.axis line {
fill: none;
stroke: #000;
shape-rendering: crispEdges;
}
.x.axis path {
display: none;
}
.line {
fill: none;
stroke: steelblue;
stroke-width: 2.5px;
}
</style>
<body>
<h1>
Space to Speak: RSNZ Presenters 2016
</h1>
<p>
20 years ago, after fielding a number of complaints from female faculty, MIT commissioned an <a href="http://web.mit.edu/fnl/women/women.pdf
">internal investigation</a> into the status of women academic staff in the science faculty. They found “differences in salary, space, awards, resources and response to outside offers between men and women faculty”.</p>
<p>In the spirit of measuring actual lab space, we measured speaking space, reviewing the estimated minutes allotted to male and female speakers in the various public events and talks organised by <a href="http://www.royalsociety.org.nz/events/">the Royal Society of New Zealand in 2016</a>. We have included speaking events in the future when the date, location and speaker have already been confirmed.
</p>
<p>
A couple of caveats:
<ul>
<li>we recognise that gender is not binary, even though this graph presents it as such. We have assumed presentation and gender identity to be equated, and would prefer to have reported data from the Royal Society that would enable gender and other diversity to be better described.</li>
<li>We have assumed 60 minutes of speaking times for all events. For panel events, we have assumed that the 60 minutes speaking time was equally divided between all the panelists.</li>
</ul>
</p>
<p>
This is intended to be a useful tool for balancing gender and other diversity across a programme of speakers, and to assist with future planning.
</p>
<script src="http://d3js.org/d3.v3.min.js"></script>
<script>
var margin = {top: 20, right: 180, bottom: 30, left: 50},
width = 960 - margin.left - margin.right,
height = 500 - margin.top - margin.bottom;
var parseDate = d3.time.format("%d/%m/%y").parse;
var x = d3.time.scale()
.range([0, width]);
var y = d3.scale.linear()
.range([height, 0]);
var color = d3.scale.category10();
var xAxis = d3.svg.axis()
.scale(x)
.orient("bottom");
var yAxis = d3.svg.axis()
.scale(y)
.orient("left");
var line = d3.svg.line()
.interpolate("basis")
.x(function(d) { return x(d.date); })
.y(function(d) { return y(d.minutes); });
var svg = d3.select("body").append("svg")
.attr("width", width + margin.left + margin.right)
.attr("height", height + margin.top + margin.bottom)
.append("g")
.attr("transform", "translate(" + margin.left + "," + margin.top + ")");
d3.csv("data.csv", function(error, data) {
if (error) throw error;
color.domain(d3.keys(data[0]).filter(function(key) { return key !== "date"; }));
data.forEach(function(d) {
d.date = parseDate(d.date);
});
var cities = color.domain().map(function(name) {
return {
name: name,
values: data.map(function(d) {
return {date: d.date, minutes: +d[name]};
})
};
});
x.domain(d3.extent(data, function(d) { return d.date; }));
y.domain([
d3.min(cities, function(c) { return d3.min(c.values, function(v) { return v.minutes; }); }),
d3.max(cities, function(c) { return d3.max(c.values, function(v) { return v.minutes; }); })
]);
svg.append("g")
.attr("class", "x axis")
.attr("transform", "translate(0," + height + ")")
.call(xAxis);
svg.append("g")
.attr("class", "y axis")
.call(yAxis)
.append("text")
.attr("transform", "rotate(-90)")
.attr("y", 6)
.attr("dy", ".71em")
.style("text-anchor", "end")
.text("cumulative minutes of speaking time");
var series = svg.selectAll(".series")
.data(cities)
.enter().append("g")
.attr("class", "series");
series.append("path")
.attr("class", "line")
.attr("d", function(d) { return line(d.values); })
.style("stroke", function(d) { return color(d.name); });
series.append("text")
.datum(function(d) { return {name: d.name, value: d.values[d.values.length - 1]}; })
.attr("transform", function(d) { return "translate(" + x(d.value.date) + "," + y(d.value.minutes) + ")"; })
.attr("x", 3)
.attr("dy", ".35em")
.text(function(d) { return d.name; });
});
</script>
<p>Data, code, and visualization by <a href="http://Twitter.com/droneale">@droneale</a> and <a href="http://Twitter.com/knhannah">@knhannah</a>, based on code by <a href="http://Twitter.com/mbostock">@mbostock</a .</p>
<p>Code and data for this visualisation are available from <a href="https://gist.github.com/droneale/63855b64522a7da729bc0c20dfab61fb">this</a> gist.</p>
               GNU LESSER GENERAL PUBLIC LICENSE
                   Version 3, 29 June 2007

Copyright (C) 2007 Free Software Foundation, Inc. http://fsf.org/ Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed.

This version of the GNU Lesser General Public License incorporates the terms and conditions of version 3 of the GNU General Public License, supplemented by the additional permissions listed below.

  1. Additional Definitions.

As used herein, "this License" refers to version 3 of the GNU Lesser General Public License, and the "GNU GPL" refers to version 3 of the GNU General Public License.

"The Library" refers to a covered work governed by this License, other than an Application or a Combined Work as defined below.

An "Application" is any work that makes use of an interface provided by the Library, but which is not otherwise based on the Library. Defining a subclass of a class defined by the Library is deemed a mode of using an interface provided by the Library.

A "Combined Work" is a work produced by combining or linking an Application with the Library. The particular version of the Library with which the Combined Work was made is also called the "Linked Version".

The "Minimal Corresponding Source" for a Combined Work means the Corresponding Source for the Combined Work, excluding any source code for portions of the Combined Work that, considered in isolation, are based on the Application, and not on the Linked Version.

The "Corresponding Application Code" for a Combined Work means the object code and/or source code for the Application, including any data and utility programs needed for reproducing the Combined Work from the Application, but excluding the System Libraries of the Combined Work.

  1. Exception to Section 3 of the GNU GPL.

You may convey a covered work under sections 3 and 4 of this License without being bound by section 3 of the GNU GPL.

  1. Conveying Modified Versions.

If you modify a copy of the Library, and, in your modifications, a facility refers to a function or data to be supplied by an Application that uses the facility (other than as an argument passed when the facility is invoked), then you may convey a copy of the modified version:

a) under this License, provided that you make a good faith effort to ensure that, in the event an Application does not supply the function or data, the facility still operates, and performs whatever part of its purpose remains meaningful, or

b) under the GNU GPL, with none of the additional permissions of this License applicable to that copy.

  1. Object Code Incorporating Material from Library Header Files.

The object code form of an Application may incorporate material from a header file that is part of the Library. You may convey such object code under terms of your choice, provided that, if the incorporated material is not limited to numerical parameters, data structure layouts and accessors, or small macros, inline functions and templates (ten or fewer lines in length), you do both of the following:

a) Give prominent notice with each copy of the object code that the Library is used in it and that the Library and its use are covered by this License.

b) Accompany the object code with a copy of the GNU GPL and this license document.

  1. Combined Works.

You may convey a Combined Work under terms of your choice that, taken together, effectively do not restrict modification of the portions of the Library contained in the Combined Work and reverse engineering for debugging such modifications, if you also do each of the following:

a) Give prominent notice with each copy of the Combined Work that the Library is used in it and that the Library and its use are covered by this License.

b) Accompany the Combined Work with a copy of the GNU GPL and this license document.

c) For a Combined Work that displays copyright notices during execution, include the copyright notice for the Library among these notices, as well as a reference directing the user to the copies of the GNU GPL and this license document.

d) Do one of the following:

   0) Convey the Minimal Corresponding Source under the terms of this
   License, and the Corresponding Application Code in a form
   suitable for, and under terms that permit, the user to
   recombine or relink the Application with a modified version of
   the Linked Version to produce a modified Combined Work, in the
   manner specified by section 6 of the GNU GPL for conveying
   Corresponding Source.

   1) Use a suitable shared library mechanism for linking with the
   Library.  A suitable mechanism is one that (a) uses at run time
   a copy of the Library already present on the user's computer
   system, and (b) will operate properly with a modified version
   of the Library that is interface-compatible with the Linked
   Version.

e) Provide Installation Information, but only if you would otherwise be required to provide such information under section 6 of the GNU GPL, and only to the extent that such information is necessary to install and execute a modified version of the Combined Work produced by recombining or relinking the Application with a modified version of the Linked Version. (If you use option 4d0, the Installation Information must accompany the Minimal Corresponding Source and Corresponding Application Code. If you use option 4d1, you must provide the Installation Information in the manner specified by section 6 of the GNU GPL for conveying Corresponding Source.)

  1. Combined Libraries.

You may place library facilities that are a work based on the Library side by side in a single library together with other library facilities that are not Applications and are not covered by this License, and convey such a combined library under terms of your choice, if you do both of the following:

a) Accompany the combined library with a copy of the same work based on the Library, uncombined with any other library facilities, conveyed under the terms of this License.

b) Give prominent notice with the combined library that part of it is a work based on the Library, and explaining where to find the accompanying uncombined form of the same work.

  1. Revised Versions of the GNU Lesser General Public License.

The Free Software Foundation may publish revised and/or new versions of the GNU Lesser General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns.

Each version is given a distinguishing version number. If the Library as you received it specifies that a certain numbered version of the GNU Lesser General Public License "or any later version" applies to it, you have the option of following the terms and conditions either of that published version or of any later version published by the Free Software Foundation. If the Library as you received it does not specify a version number of the GNU Lesser General Public License, you may choose any version of the GNU Lesser General Public License ever published by the Free Software Foundation.

If the Library as you received it specifies that a proxy can decide whether future versions of the GNU Lesser General Public License shall apply, that proxy's public statement of acceptance of any version is permanent authorization for you to choose that version for the Library.

Date Event name Presenter name Gender plenary panel location minutes eventID mins M mins F cum mins M cum minsF
4/02/16 Convicted for Science_ lessons from Aquila Giulio Selvaggi male y n 60 1 60 0 60 0
9/02/16 Navigating Climate Change Max Boykoff male y n 60 2 60 0 120 0
1/03/16 Picturing Science Massimiano Bucchi male y n 60 3 60 0 180 0
15/03/16 Gene Genie - genetics and disease Adam Rutherford male n y 15 4 15 0 195 0
15/03/16 Gene Genie - genetics and disease Vicky Cameron female n y 15 4 0 15 195 15
15/03/16 Gene Genie - genetics and disease Nigel French male n y 15 4 15 0 210 15
15/03/16 Gene Genie - genetics and disease Parry Guilford male n y 15 4 15 0 225 15
15/03/16 is everything you know about genetics wrong? Adam Rutherford male y n 60 5 60 0 285 15
17/03/16 Gene Genie -Conservation Genomics Adam Rutherford male n y 15 6 15 0 300 15
17/03/16 Gene Genie -Conservation Genomics Catherine Collins female n y 15 6 0 15 300 30
17/03/16 Gene Genie -Conservation Genomics Neil Gemmell male n y 15 6 15 0 315 30
17/03/16 Gene Genie -Conservation Genomics Michael Knapp male n y 15 6 15 0 330 30
21/03/16 Gene Genie Family and Genealogy Adam Rutherford male n y 15 7 15 0 345 30
21/03/16 Gene Genie Family and Genealogy Lisa Matisoo-Smith female n y 15 7 0 15 345 45
21/03/16 Gene Genie Family and Genealogy Stephen Robertson male n y 15 7 15 0 360 45
21/03/16 Gene Genie Family and Genealogy Hamish Spencer male n y 15 7 15 0 375 45
22/03/16 Gene Genie Genetics and Health Adam Rutherford male n y 15 8 15 0 390 45
22/03/16 Gene Genie Genetics and Health Don Love male n y 15 8 15 0 405 45
22/03/16 Gene Genie Genetics and Health Rinki Murphy female n y 15 8 0 15 405 60
22/03/16 Gene Genie Genetics and Health Cristin Print male n y 15 8 15 0 420 60
7/05/16 Sea level Rise Jonathan Bamber male y n 60 9 60 0 480 60
11/05/16 The Sacred Disease Ingrid Scheffer female y n 60 10 0 60 480 120
12/05/16 The Sacred Disease Ingrid Scheffer female y n 60 11 0 60 480 180
13/05/16 The Sacred Disease Ingrid Scheffer female y n 60 12 0 60 480 240
14/05/16 The Sacred Disease Ingrid Scheffer female y n 60 13 0 60 480 300
15/05/16 The Sacred Disease Ingrid Scheffer female y n 60 14 0 60 480 360
19/05/16 Managing our climate change Jean Palutikof female y n 60 15 0 60 480 420
27/05/16 Solution Science Jim Skea male y n 60 16 60 0 540 420
5/07/16 10x10 Climate Change James Renwick male n y Hamilton 30 17 30 0 570 420
5/07/16 10x10 Climate Change Tim Naish male n y Hamilton 30 17 30 0 600 420
5/07/16 10x10 Climate Change James Renwick male n y Rotorua 30 18 30 0 630 420
5/07/16 10x10 Climate Change Tim Naish male n y Rotorua 30 18 30 0 660 420
6/07/16 10x10 Climate Change James Renwick male n y Napier 30 19 30 0 690 420
6/07/16 10x10 Climate Change Tim Naish male n y Napier 30 19 30 0 720 420
7/07/16 10x10 Climate Change James Renwick male n y Palmerston North 30 20 30 0 750 420
7/07/16 10x10 Climate Change Tim Naish male n y Palmerston North 30 20 30 0 780 420
12/07/16 Dr Graham's Scientific Funomena Dr Graham male y n 60 21 60 0 840 420
13/07/16 Dr Graham's Scientific Funomena Dr Graham male y n 60 22 60 0 900 420
3/08/16 10x10 Climate Change James Renwick male n y Christchurch 30 23 30 0 930 420
3/08/16 10x10 Climate Change Tim Naish male n y Christchurch 30 23 30 0 960 420
4/08/16 10x10 Climate Change James Renwick male n y Dunedin 30 24 30 0 990 420
4/08/16 10x10 Climate Change Tim Naish male n y Dunedin 30 24 30 0 1020 420
5/08/16 10x10 Climate Change James Renwick male n y Wanaka 30 25 30 0 1050 420
5/08/16 10x10 Climate Change Tim Naish male n y Wanaka 30 25 30 0 1080 420
30/08/16 Water Alok Jha male y n 60 26 60 0 1140 420
31/08/16 Water Alok Jha male y n 60 27 60 0 1200 420
6/09/16 10x10 Climate Change James Renwick male n y Auckland 30 28 30 0 1230 420
6/09/16 10x10 Climate Change Tim Naish male n y Auckland 30 28 30 0 1260 420
7/09/16 10x10 Climate Change James Renwick male n y Wellington 30 29 30 0 1290 420
7/09/16 10x10 Climate Change Tim Naish male n y Wellington 30 29 30 0 1320 420
8/09/16 10x10 Climate Change James Renwick male n y Nelson 30 30 30 0 1350 420
8/09/16 10x10 Climate Change Tim Naish male n y Nelson 30 30 30 0 1380 420
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment