Skip to content

Commit 0471e46

Browse files
author
Shadrock Roberts
authored
Merge pull request ushahidi#3 from Shadrock/master
Updating index, Javascript, and ReadME
2 parents ac5b059 + beeee04 commit 0471e46

File tree

3 files changed

+15
-15
lines changed

3 files changed

+15
-15
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Ushahidi Programs Plotr
22
===========
3-
This is a visualization tool for looking at key deliverables and milestones milestones for Ushahidi programs. You can see the [Plotr visualization here](http://?????) or [add dates and milesontes here](https://docs.google.com/spreadsheets/d/1NXG2znwFFdbyK83wHmN00AEp_t_OMAoRkShicl_y7Wk/edit#gid=0). See below for more information about how to interpret the visualization or enter data.
3+
This is a visualization tool for looking at key deliverables and milestones milestones for Ushahidi programs. You can see the [Plotr visualization here](http://?????) or [add dates and milestones here](https://docs.google.com/spreadsheets/d/1NXG2znwFFdbyK83wHmN00AEp_t_OMAoRkShicl_y7Wk/edit#gid=0). See below for more information about how to interpret the visualization or enter data.
44

55
### About
66
This is simple sortable chart for viewing and tracking programmatic deliverables and milestones on a timeline. It is primarily for coordination among Ushahidi programs: especially around shared goals such as trainings, volunteer engagement, and product releases. It is useful for a quick global view of what's going on when and how the milestones/expectations/resourcing need to be managed. This was originally developed by Aurelia Moser ([original repo here](https://github.com/auremoser/pirateplotr)) and I've adopted it for programmatic use.
@@ -28,14 +28,14 @@ project2 | value2 | date1 | date2 | [DREAMS/Uchaguzi/...] | core
2828
* **deliverable** is _brief_ description of the deliverable.
2929
* **priority** is an arbitrary weight. This is a placeholder that was originally intended to be replaced by some numerical value that we might want to priotize by, such as cost, price, or resources. We can figure out how to use this... or leave it blank!
3030
* **dates** are the start and end date of a project.
31-
* **team** is the name of the team responsible for the deliverable. I've populated the spreadsheet with a drop-down menu for: Uchaguzi, DREAMS, COMRADES, and Platform.
32-
* **type** is one of 4 categories for filtering purposes. I don't honestly remember what these different categories meant at the time they were created so I'd be happy to change them. Right now, I'm using
31+
* **team** is the name of the team responsible for the deliverable. I've populated the spreadsheet with a drop-down menu for: Platform, RollCall, Uchaguzi, COMRADES, DREAMS, MAVC, Sup. & Engage., and Engineering. I suppose we could put _all_ circles on this but the goal is really to use this for better programmatic coordination. Because that means implementing our tools and some engagement, I've included the relevant tech circles as well.
32+
* **type** is one of 4 categories for filtering purposes. I don't honestly remember what these different categories meant at the time they were created so I'd be happy to change them. Right now, I'm using:
3333
* "core" as an internal deadline;
3434
* "external" is a public facing deadline;
3535
* "ops" - I'm not using this right now.
3636
* "milestone" creates a vertical plum lines on the chart as opposed to a bar that shows something happening over time. You create these by entering a `deliverable` name, a `start_date`, and then listing the `type` as "milestone". Check the csv for examples of this.
3737

38-
Give me a shout if you have any further questions!
38+
Give me a shout if you have any further questions and feel free to edit the Plotr: we all own it!
3939

4040

4141

index.html

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -230,14 +230,14 @@ <h6>COLOR BY</h6>
230230
<div class="legend-title">Teams 2014</div>
231231
<div class="legend-scale">
232232
<ul class="legend-labels">
233-
<li><span style="background:#d53e4f;"></span>BRCK</li>
234-
<li><span style="background:#f46d43;"></span>Crisis Net</li>
235-
<li><span style="background:#fdae61;"></span>Crowd Map</li>
236-
<li><span style="background:#fee08b;"></span>Ex. Projects</li>
233+
<li><span style="background:#d53e4f;"></span>Platform</li>
234+
<li><span style="background:#f46d43;"></span>RollCall</li>
235+
<li><span style="background:#fdae61;"></span>Engineering</li>
236+
<li><span style="background:#fee08b;"></span>COMRADES</li>
237237
<li><span style="background:#ffffbf;"></span>MAVC</li>
238-
<li><span style="background:#abdda4;"></span>Ops</li>
239-
<li><span style="background:#66c2a5;"></span>RRI</li>
240-
<li><span style="background:#3288bd;"></span>V3</li>
238+
<li><span style="background:#abdda4;"></span>DREAMS</li>
239+
<li><span style="background:#66c2a5;"></span>UCHAGUZI</li>
240+
<li><span style="background:#3288bd;"></span>Sup. & Engage.</li>
241241
</ul>
242242
</div>
243243
</div>
@@ -258,4 +258,4 @@ <h6>COLOR BY</h6>
258258
</body>
259259
</html>
260260
<!--special thx to mhkeller (homg dates in d3), and to aubergene (D3.edu)-->
261-
<!--auremoser-->
261+
<!--auremoser-->

plotr.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
var canvas_width = d3.select('#chart-canvas').node().offsetWidth;
88

99
var teamColorScale = d3.scale.ordinal()
10-
.domain(['BRCK', 'CrisisNet', 'Crowdmap', 'External Projects', 'MAVC', 'Operations', 'RRI', 'V3'])
10+
.domain(['Platform', 'RollCall', 'Engineering', 'COMRADES', 'MAVC', 'DREAMS', 'UCHAGUZI', 'Sup. & Engage.'])
1111
//.range(['#e45f56',' #d75c37','#fff568','#a3d39c','#4aaaa5','#4aaaa5','#334455','#260126'])
1212
.range(['#d53e4f', '#f46d43', '#fdae61', '#fee08b', '#ffffbf', '#abdda4', '#66c2a5', '#3288bd']);
1313

@@ -40,7 +40,7 @@
4040
* LOAD AND TIDY DATA
4141
*/
4242
// Data comes in as a simple updateable csv, so names entities, values can update
43-
// Gspreadsheet for CSV is here: https://docs.google.com/a/ushahidi.com/spreadsheet/ccc?key=0AlR1bR7sxqL-dFhnYWRNUm81WWNUai0ybjZRcWwyNXc&usp=sharing
43+
// Gspreadsheet for CSV is here: https://docs.google.com/spreadsheets/d/1NXG2znwFFdbyK83wHmN00AEp_t_OMAoRkShicl_y7Wk/edit#gid=0
4444

4545

4646
// Switch to lowercase Y in the d3.time.format if using an excel csv, it's uppercase because google spreadsheets formats it's dates differently
@@ -290,7 +290,7 @@
290290
* var proxy = 'http://www.enjoy-mondays.com/assets/services/proxy.php?url=';
291291
*/
292292

293-
var csvURL = 'https://docs.google.com/spreadsheet/pub?key=0AlR1bR7sxqL-dFhnYWRNUm81WWNUai0ybjZRcWwyNXc&single=true&gid=0&output=csv';
293+
var csvURL = 'https://docs.google.com/a/ushahidi.com/spreadsheets/d/1NXG2znwFFdbyK83wHmN00AEp_t_OMAoRkShicl_y7Wk/pub?output=csv';
294294

295295
d3.csv(csvURL, function(csv) {
296296
tidyData(csv);

0 commit comments

Comments
 (0)