From 2187506d75cafdb73e33764daa7937d38355c123 Mon Sep 17 00:00:00 2001 From: Edouard Date: Tue, 21 Oct 2014 11:48:33 +0300 Subject: [PATCH 1/8] Update index.html Changed the spreadhseet --- index.html | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/index.html b/index.html index 91ecedb..3f5d147 100644 --- a/index.html +++ b/index.html @@ -46,7 +46,6 @@ - @@ -58,7 +57,7 @@

Iraq Supply Pipeline

-
Click on any of those graphs below to filter and slice the data. More Information on Iraq here.
+
Click on any of those graphs below to filter and slice the data.
@@ -122,7 +121,7 @@

Iraq Supply Pipeline

var ds = new Miso.Dataset({ importer : Miso.Dataset.Importers.GoogleSpreadsheet, parser : Miso.Dataset.Parsers.GoogleSpreadsheet, - key : "12dxOiV7n0r0ANNaAvrXPuJRxS9h8lhGgb7DVVMgh8gA", + key : "1dqTTsaSTST8LgYGShZ4ZtOKx8-fCZqQI5SW1jBRbH6Q", worksheet : "1" }); From 5ecbf11b80863b1acf9c8553e526280d5128f038 Mon Sep 17 00:00:00 2001 From: edouard-legoupil Date: Tue, 21 Oct 2014 13:17:26 +0300 Subject: [PATCH 2/8] change --- images/favicon.ico | Bin 318 -> 23558 bytes images/logo.png | Bin 0 -> 11196 bytes index.html | 6 ++++-- 3 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 images/logo.png diff --git a/images/favicon.ico b/images/favicon.ico index a12c0535fa259088fbd87961f570eb3fe40ee2d4..eea6dfe8c0c4db8b9e6669d2ef96b78fb80a89b9 100644 GIT binary patch literal 23558 zcmeHP30zgh_dg&Cs3}jLEF!Wfs~|iT#03PU#VsY$w6ZK)tTcJ1rDX-0J0iF*xS)c_ zuW~6Z{Z%e$v{-7Hxs#PGYPpnKYUlqw_c3sJJ_VHY*XQ5Wd2{E^oMmRtoS8Xu1|mCh zB41w@#18bcJ<(Vqa&fVwgYAf(twt0XNm{x5Iz%%a2<3~@PDF98Qr?mtP@U*UFIC=` z@&kzO_EY7NM!B$ zllfK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a/index.html +++ b/index.html @@ -19,7 +19,7 @@
- +
@@ -57,7 +57,9 @@

Iraq Supply Pipeline

-
Click on any of those graphs below to filter and slice the data.
+ +
Click on any of those graphs below to filter and slice the data. .
+
From 2963fe5c37b1643fb8cf680742d5e83baacabcca Mon Sep 17 00:00:00 2001 From: edouard-legoupil Date: Wed, 22 Oct 2014 14:01:41 +0300 Subject: [PATCH 3/8] rev --- index.html | 166 ++++++++++++++++++++++++++++++----------------------- 1 file changed, 94 insertions(+), 72 deletions(-) diff --git a/index.html b/index.html index 5fa7a5e..748e01a 100644 --- a/index.html +++ b/index.html @@ -19,7 +19,6 @@
-
@@ -55,49 +54,57 @@ -
-

Iraq Supply Pipeline

+
+
+ +
+

Iraq Supply Pipeline

+
Click on any of the graphs below to filter and slice the data.
+
-
Click on any of those graphs below to filter and slice the data. .
+
+ +
- +
-
NFI Values by Item Group (USD)
-
NFI Quantities
-
NFI Value by Status (USD)
- - + +
+
NFI Quantities by item type +
+ +
+
NFI quantity by organisation
+
-
NFI Value by Target Population (USD)
-
NFI Value by Operation (USD)
- -
- - - - - - - -
Supply Timeline
-
-


-
- -
- -
- +
+
NFI type by Category (number of Item) +
+ +
+
NFI Quantity by Operational area +
+ +
+
Supply Timeline
+
+
@@ -112,7 +119,7 @@

Iraq Supply Pipeline

}); //declaration of chart names and types - var value_chart = dc.rowChart("#item_value"); + // var value_chart = dc.rowChart("#item_value"); var proc_total_status_chart = dc.pieChart("#proc_total_status"); var proc_total_target_chart = dc.rowChart("#proc_total_target"); var proc_total_op = dc.rowChart("#proc_total_op"); @@ -145,7 +152,7 @@

Iraq Supply Pipeline

//formatting of numbers, dates var numberFormat = d3.format(",f"); - var dateFormat = d3.time.format("%Y-%m-%d"); + var dateFormat = d3.time.format("%Y-%d-%m"); var monthNameFormat = d3.time.format("%B"); //crossfilter data var cf = crossfilter(spreadsheetdata); @@ -154,9 +161,11 @@

Iraq Supply Pipeline

cf.targetpop = cf.dimension(function (d) { return d.Target_Population; }); + cf.op = cf.dimension(function (d) { return d.Operation; }); + cf.item = cf.dimension(function (d) { return d.Item; }); @@ -164,11 +173,12 @@

Iraq Supply Pipeline

cf.status = cf.dimension(function (d) { return d.Status; }); + cf.location = cf.dimension(function (d) { return d.Location; }); -//gruop by dimensions +//group by dimensions var targetpop = cf.targetpop.group(); var op = cf.op.group(); // var date = cf.date.group(); @@ -227,7 +237,7 @@

Iraq Supply Pipeline

// Serializing filters values in URL function getFiltersValues() { var filters = [ - { name: 'value', value: value_chart.filters()}, + // { name: 'value', value: value_chart.filters()}, { name: 'proc', value: proc_total_status_chart.filters()}, { name: 'proc2', value: proc_total_target_chart.filters()}, { name: 'itm_qty', value: itm_qty_chart.filters()}, @@ -293,8 +303,11 @@

Iraq Supply Pipeline

return "" + monthNameFormat(d.key) + " : " + numberFormat(d.value) + " USD"; }); -// Item value chart - value_chart.width(400).height(485) + // Item value chart + /* + value_chart + .width(400) + .height(485) .dimension(cf.item) .group(item_total_value = item_total_value || 0) .elasticX(true) @@ -302,9 +315,24 @@

Iraq Supply Pipeline

.renderTitle(false) .on("filtered", getFiltersValues) .xAxis().ticks(6).tickFormat(d3.format("$,s")); + */ + + // Item quantity chart + itm_qty_chart + .width(400) + .height(600) + .dimension(cf.item) + .on("filtered", getFiltersValues) + .group(item_total_quantity = item_total_quantity || 0) + .elasticX(true) + .renderTitle(false) + .renderLabel(true) + .xAxis().ticks(6).tickFormat(d3.format("s")); -// Status chart - proc_total_status_chart.width(300).height(200) + // Status chart + proc_total_status_chart + .width(300) + .height(200) .dimension(cf.status) .group(status_by_total = status_by_total || 0) .radius(100) @@ -316,79 +344,70 @@

Iraq Supply Pipeline

.renderTitle(false) .on("filtered", getFiltersValues); -// Target population chart - proc_total_target_chart.width(300).height(120) + // Target population chart + proc_total_target_chart + .width(300) + .height(100) .dimension(cf.targetpop) .group(targetpop_by_total = targetpop_by_total || 0) .elasticX(false) .renderLabel(true) .renderTitle(false) .on("filtered", getFiltersValues) - .xAxis().ticks(4).tickFormat(d3.format("$,s")); + .xAxis().ticks(4).tickFormat(d3.format(",s")); -// Operation chart - proc_total_op.width(300).height(90) + // Operation chart + proc_total_op + .width(300) + .height(120) .dimension(cf.op) .group(op_by_total = op_by_total || 0) .elasticX(false) .renderLabel(true) .renderTitle(false) .on("filtered", getFiltersValues) - .xAxis().ticks(4).tickFormat(d3.format("$,s")); + .xAxis().ticks(4).tickFormat(d3.format(",s")); -// Item quantity chart - itm_qty_chart.width(400).height(485) - .dimension(cf.item) - .on("filtered", getFiltersValues) - .group(item_total_quantity = item_total_quantity || 0) - .elasticX(true) - .renderTitle(false) - .renderLabel(true) - .xAxis().ticks(6).tickFormat(d3.format("s")); - -// Timeline bar chart + // Timeline bar chart proc_trend_chart - .height(300) - .width(600) + .height(250) + .width(750) .renderHorizontalGridLines(true) .dimension(datedimension) .group(value_by_date) // .renderTitle(true) .title(function (d) { return monthNameFormat(d.key) + ": " + numberFormat(d.value); }) -// define scale based on minimum and maximum dates + // define scale based on minimum and maximum dates .x(d3.time.scale().domain([minDate,maxDate])) .xUnits(d3.time.months) .on("filtered", getFiltersValues) .brushOn(true) // .gap(10) .elasticY(false) - -// rotate and move X axis labels + // rotate and move X axis labels .renderlet(function (chart) { chart.selectAll("g.x text") .attr('dx', '-30') .attr('transform', "rotate(-45)"); }) .margins({left: 70 ,top: 10, bottom: 50, right: 50}) - .yAxis().ticks(7).tickFormat(d3.format("$,s")); - + .yAxis().ticks(7).tickFormat(d3.format(",s")); //Map //Import admin level 1 geojson + /* d3.json("data/admin1.geojson", function(json) { -// extend admin level 1 map geojson features with values, paired by location code that appears on both the map and the dataset + // extend admin level 1 map geojson features with values, + //paired by location code that appears on both the map and the dataset for (var i = 0; i < Location_json.length; i++) { var dist_Location = Location_json[i].A1Code; var dist_Value = parseFloat(Location_json[i].Value); - for (var j = 0; j < json.features.length; j++) { var jsonGov = json.features[j].properties.A1Code; - if (dist_Location == jsonGov) { json.features[j].properties.Value = dist_Value; break; - } } } @@ -488,7 +507,7 @@

Iraq Supply Pipeline

onEachFeature: onEachFeature }).addTo(map); -// legend control (not used) + // legend control (not used) var legend = L.control({position: 'bottomleft'}); legend.onAdd = function (map) { @@ -512,6 +531,7 @@

Iraq Supply Pipeline

}; //legend.addTo(map); }); + */ initFilters(); @@ -534,11 +554,13 @@

Iraq Supply Pipeline

}); - - + + + -