From 309e89269054ec69770c8a9d066ad73fcb6626dd Mon Sep 17 00:00:00 2001 From: declerambaul Date: Thu, 7 Jun 2012 05:43:17 +0200 Subject: [PATCH] Imported new data from erikz. Adapted all graph.json files to the new dataset-ui specs. Same label should have same colors. --- data/graphs/active_editors.json | 201 ++++++++++++++- data/graphs/active_editors_target.json | 174 ++++++++++++- data/graphs/articles.json | 144 ++++++++++- data/graphs/articles_per_day.json | 212 +++++++++++++++- data/graphs/commons.json | 139 ++++++++++- data/graphs/edits.json | 214 +++++++++++++++- data/graphs/new_editors.json | 308 +++++++++++++++++++++- data/graphs/pageviews.json | 251 ++++++++++++++++++- data/graphs/pageviews_mobile.json | 263 ++++++++++++++++++- data/graphs/pageviews_mobile_target.json | 156 +++++++++++- data/graphs/reach.json | 263 ++++++++++++++++++- data/graphs/test.json | 231 ---------------- data/graphs/unique_visitors.json | 262 ++++++++++++++++++- data/graphs/very_active_editors.json | 308 +++++++++++++++++++++- msc/old_rc_new/input/wikilytics_in_pageviews.csv | 39 +-- msc/old_rc_new/old_charts.py | 3 +- msc/old_rc_new/old_to_new.py | 123 ++++++++- 17 files changed, 3007 insertions(+), 284 deletions(-) delete mode 100644 data/graphs/test.json diff --git a/data/graphs/active_editors.json b/data/graphs/active_editors.json index c94055a..83165bf 100644 --- a/data/graphs/active_editors.json +++ b/data/graphs/active_editors.json @@ -1,10 +1,207 @@ { "chartType": "dygraphs", - "dataset": "/data/datasources/rc/rc_active_editors_count.csv", + "data": { + "id": "active_editors", + "lines": [], + "metrics": [ + { + "color": "rgb(116,173,209)", + "disabled": false, + "format_axis": null, + "format_value": null, + "index": 0, + "label": "Total", + "scale": 1, + "source_col": 1, + "source_id": "rc_active_editors_count", + "timespan": { + "end": null, + "start": null, + "step": null + }, + "transforms": [], + "type": "int", + "visible": true + }, + { + "color": "rgb(49,54,149)", + "disabled": false, + "format_axis": null, + "format_value": null, + "index": 0, + "label": "English", + "scale": 1, + "source_col": 2, + "source_id": "rc_active_editors_count", + "timespan": { + "end": null, + "start": null, + "step": null + }, + "transforms": [], + "type": "int", + "visible": true + }, + { + "color": "rgb(69,117,180)", + "disabled": false, + "format_axis": null, + "format_value": null, + "index": 0, + "label": "Commons", + "scale": 1, + "source_col": 3, + "source_id": "rc_active_editors_count", + "timespan": { + "end": null, + "start": null, + "step": null + }, + "transforms": [], + "type": "int", + "visible": true + }, + { + "color": "rgb(254,224,144)", + "disabled": false, + "format_axis": null, + "format_value": null, + "index": 0, + "label": "French", + "scale": 1, + "source_col": 4, + "source_id": "rc_active_editors_count", + "timespan": { + "end": null, + "start": null, + "step": null + }, + "transforms": [], + "type": "int", + "visible": true + }, + { + "color": "rgb(244,109,67)", + "disabled": false, + "format_axis": null, + "format_value": null, + "index": 0, + "label": "German", + "scale": 1, + "source_col": 5, + "source_id": "rc_active_editors_count", + "timespan": { + "end": null, + "start": null, + "step": null + }, + "transforms": [], + "type": "int", + "visible": true + }, + { + "color": "rgb(224,243,248)", + "disabled": false, + "format_axis": null, + "format_value": null, + "index": 0, + "label": "Russian", + "scale": 1, + "source_col": 6, + "source_id": "rc_active_editors_count", + "timespan": { + "end": null, + "start": null, + "step": null + }, + "transforms": [], + "type": "int", + "visible": true + }, + { + "color": "rgb(255,255,191)", + "disabled": false, + "format_axis": null, + "format_value": null, + "index": 0, + "label": "Japanese", + "scale": 1, + "source_col": 7, + "source_id": "rc_active_editors_count", + "timespan": { + "end": null, + "start": null, + "step": null + }, + "transforms": [], + "type": "int", + "visible": true + }, + { + "color": "rgb(171,217,233)", + "disabled": false, + "format_axis": null, + "format_value": null, + "index": 0, + "label": "Spanish", + "scale": 1, + "source_col": 8, + "source_id": "rc_active_editors_count", + "timespan": { + "end": null, + "start": null, + "step": null + }, + "transforms": [], + "type": "int", + "visible": true + }, + { + "color": "rgb(165,0,38)", + "disabled": false, + "format_axis": null, + "format_value": null, + "index": 0, + "label": "Italian", + "scale": 1, + "source_col": 9, + "source_id": "rc_active_editors_count", + "timespan": { + "end": null, + "start": null, + "step": null + }, + "transforms": [], + "type": "int", + "visible": true + }, + { + "color": "rgb(215,48,39)", + "disabled": false, + "format_axis": null, + "format_value": null, + "index": 0, + "label": "Chinese", + "scale": 1, + "source_col": 10, + "source_id": "rc_active_editors_count", + "timespan": { + "end": null, + "start": null, + "step": null + }, + "transforms": [], + "type": "int", + "visible": true + } + ], + "palette": null + }, "desc": "Aug 2010: Editors on Commons are no longer included in overall total, on the assumption that most also edit on one or more other projects. More precise detection of double counts between any projects and languages is in development (using Single User Login registration).", - "height": 320, + "height": 250, "id": "active_editors", "name": "Active Wikimedia Editors for All Wikimedia Projects (5+ edits per month)", + "notes": "", "options": { "animatedZooms": true, "avoidMinZero": false, diff --git a/data/graphs/active_editors_target.json b/data/graphs/active_editors_target.json index 70ba350..8f97fe2 100644 --- a/data/graphs/active_editors_target.json +++ b/data/graphs/active_editors_target.json @@ -1 +1,173 @@ -{"options":{"animatedZooms":true,"avoidMinZero":false,"axis":null,"axisLabelColor":"#666666","axisLabelFontSize":11,"axisLabelFormatter":null,"axisLabelWidth":50,"axisLineColor":"#AAAAAA","axisLineWidth":0.3,"axisTickSize":3,"colorSaturation":1,"colorValue":0.5,"colors":["#FF0097","#EF8158","#83BB32","#182B53","#4596FF","#553DC9","#AD3238","#00FFBC","#F1D950"],"connectSeparatedPoints":false,"customBars":true,"dateWindow":null,"delimiter":",","digitsAfterDecimal":2,"displayAnnotations":false,"drawPoints":true,"drawXAxis":true,"drawXGrid":true,"drawYAxis":true,"drawYGrid":true,"errorBars":false,"file":null,"fillAlpha":0.15,"fillGraph":false,"fractions":false,"gridLineColor":"#D8D8D8","gridLineWidth":0.3,"hideOverlayOnMouseOut":true,"highlightCircleSize":4,"includeZero":false,"interactionModel":null,"isZoomedIgnoreProgrammaticZoom":false,"labels":null,"labelsDiv":null,"labelsDivStyles":null,"labelsDivWidth":250,"labelsKMB":true,"labelsKMG2":false,"labelsSeparateLines":true,"labelsShowZeroValues":true,"legend":"always","logscale":true,"maxNumberWidth":30,"panEdgeFraction":null,"pixelsPerLabel":null,"pixelsPerXLabel":null,"pixelsPerYLabel":null,"pointSize":1,"rangeSelectorHeight":40,"rangeSelectorPlotFillColor":"#A7B1C4","rangeSelectorPlotStrokeColor":"#808FAB","rightGap":20,"rollPeriod":1,"showLabelsOnHighlight":true,"showRangeSelector":false,"showRoller":false,"sigFigs":null,"sigma":2,"stackedGraph":false,"stepPlot":false,"strokePattern":null,"strokeWidth":3,"ticker":null,"title":null,"titleHeight":18,"valueFormatter":null,"valueRange":null,"visibility":null,"wilsonInterval":true,"xAxisHeight":null,"xAxisLabelFormatter":null,"xAxisLabelWidth":55,"xLabelHeight":18,"xValueFormatter":null,"xValueParser":null,"xlabel":null,"y2label":null,"yAxisLabelFormatter":null,"yAxisLabelWidth":50,"yLabelWidth":18,"yValueFormatter":null,"ylabel":null},"slug":"active_editors_target","name":"Active Editors - Target","desc":"","dataset":"/data/datasources/rc/rc_active_editors_target.csv","width":"auto","height":320,"chartType":"dygraphs","parents":["root"],"id":"active_editors_target"} \ No newline at end of file +{ + "chartType": "dygraphs", + "data": { + "id": "commons", + "lines": [], + "metrics": [ + { + "color": "rgb(116,173,209)", + "disabled": false, + "format_axis": null, + "format_value": null, + "index": 0, + "label": "Total", + "scale": 1, + "source_col": 1, + "source_id": "rc_active_editors_target", + "timespan": { + "end": null, + "start": null, + "step": null + }, + "transforms": [], + "type": "int", + "visible": true + }, + { + "color": "rgb(116,173,209)", + "disabled": false, + "format_axis": null, + "format_value": null, + "index": 0, + "label": "Target", + "scale": 1, + "source_col": 2, + "source_id": "rc_active_editors_target", + "timespan": { + "end": null, + "start": null, + "step": null + }, + "transforms": [], + "type": "int", + "visible": true + }, + { + "disabled": false, + "format_axis": null, + "format_value": null, + "index": 0, + "label": "Projected", + "scale": 1, + "source_col": 3, + "source_id": "rc_active_editors_target", + "timespan": { + "end": null, + "start": null, + "step": null + }, + "transforms": [], + "type": "int", + "visible": true + } + ], + "palette": null + }, + "desc": "", + "height": 250, + "id": "active_editors_target", + "name": "Active Editors - Target", + "options": { + "animatedZooms": true, + "avoidMinZero": false, + "axis": null, + "axisLabelColor": "#666666", + "axisLabelFontSize": 11, + "axisLabelFormatter": null, + "axisLabelWidth": 50, + "axisLineColor": "#AAAAAA", + "axisLineWidth": 0.3, + "axisTickSize": 3, + "colorSaturation": 1, + "colorValue": 0.5, + "colors": [ + "#FF0097", + "#EF8158", + "#83BB32", + "#182B53", + "#4596FF", + "#553DC9", + "#AD3238", + "#00FFBC", + "#F1D950" + ], + "connectSeparatedPoints": false, + "customBars": true, + "dateWindow": null, + "delimiter": ",", + "digitsAfterDecimal": 2, + "displayAnnotations": false, + "drawPoints": true, + "drawXAxis": true, + "drawXGrid": true, + "drawYAxis": true, + "drawYGrid": true, + "errorBars": false, + "file": null, + "fillAlpha": 0.15, + "fillGraph": false, + "fractions": false, + "gridLineColor": "#D8D8D8", + "gridLineWidth": 0.3, + "hideOverlayOnMouseOut": true, + "highlightCircleSize": 4, + "includeZero": false, + "interactionModel": null, + "isZoomedIgnoreProgrammaticZoom": false, + "labels": null, + "labelsDiv": null, + "labelsDivStyles": null, + "labelsDivWidth": 250, + "labelsKMB": true, + "labelsKMG2": false, + "labelsSeparateLines": true, + "labelsShowZeroValues": true, + "legend": "always", + "logscale": true, + "maxNumberWidth": 30, + "panEdgeFraction": null, + "pixelsPerLabel": null, + "pixelsPerXLabel": null, + "pixelsPerYLabel": null, + "pointSize": 1, + "rangeSelectorHeight": 40, + "rangeSelectorPlotFillColor": "#A7B1C4", + "rangeSelectorPlotStrokeColor": "#808FAB", + "rightGap": 20, + "rollPeriod": 1, + "showLabelsOnHighlight": true, + "showRangeSelector": false, + "showRoller": false, + "sigFigs": null, + "sigma": 2, + "stackedGraph": false, + "stepPlot": false, + "strokePattern": null, + "strokeWidth": 3, + "ticker": null, + "title": null, + "titleHeight": 18, + "valueFormatter": null, + "valueRange": null, + "visibility": null, + "wilsonInterval": true, + "xAxisHeight": null, + "xAxisLabelFormatter": null, + "xAxisLabelWidth": 55, + "xLabelHeight": 18, + "xValueFormatter": null, + "xValueParser": null, + "xlabel": null, + "y2label": null, + "yAxisLabelFormatter": null, + "yAxisLabelWidth": 50, + "yLabelWidth": 18, + "yValueFormatter": null, + "ylabel": null + }, + "parents": [ + "root" + ], + "slug": "active_editors_target", + "width": "auto" +} diff --git a/data/graphs/articles.json b/data/graphs/articles.json index 22cbe67..d414ad8 100644 --- a/data/graphs/articles.json +++ b/data/graphs/articles.json @@ -1 +1,143 @@ -{"options":{"animatedZooms":true,"avoidMinZero":false,"axis":null,"axisLabelColor":"#666666","axisLabelFontSize":11,"axisLabelFormatter":null,"axisLabelWidth":50,"axisLineColor":"#AAAAAA","axisLineWidth":0.3,"axisTickSize":3,"colorSaturation":1,"colorValue":0.5,"colors":["#FF0097","#EF8158","#83BB32","#182B53","#4596FF","#553DC9","#AD3238","#00FFBC","#F1D950"],"connectSeparatedPoints":false,"customBars":false,"dateWindow":null,"delimiter":",","digitsAfterDecimal":2,"displayAnnotations":false,"drawPoints":true,"drawXAxis":true,"drawXGrid":true,"drawYAxis":true,"drawYGrid":true,"errorBars":false,"file":null,"fillAlpha":0.15,"fillGraph":false,"fractions":false,"gridLineColor":"#D8D8D8","gridLineWidth":0.3,"hideOverlayOnMouseOut":false,"highlightCircleSize":4,"includeZero":false,"interactionModel":null,"isZoomedIgnoreProgrammaticZoom":false,"labels":null,"labelsDiv":null,"labelsDivStyles":null,"labelsDivWidth":250,"labelsKMB":true,"labelsKMG2":false,"labelsSeparateLines":true,"labelsShowZeroValues":true,"legend":"always","logscale":true,"maxNumberWidth":30,"panEdgeFraction":null,"pixelsPerLabel":null,"pixelsPerXLabel":null,"pixelsPerYLabel":null,"pointSize":1,"rangeSelectorHeight":40,"rangeSelectorPlotFillColor":"#A7B1C4","rangeSelectorPlotStrokeColor":"#808FAB","rightGap":20,"rollPeriod":1,"showLabelsOnHighlight":true,"showRangeSelector":false,"showRoller":false,"sigFigs":null,"sigma":2,"stackedGraph":false,"stepPlot":false,"strokePattern":null,"strokeWidth":3,"ticker":null,"title":null,"titleHeight":18,"valueFormatter":null,"valueRange":null,"visibility":[0,1,1,1,1,1,1,1],"wilsonInterval":true,"xAxisHeight":null,"xAxisLabelFormatter":null,"xAxisLabelWidth":55,"xLabelHeight":18,"xValueFormatter":null,"xValueParser":null,"xlabel":null,"y2label":null,"yAxisLabelFormatter":null,"yAxisLabelWidth":50,"yLabelWidth":18,"yValueFormatter":null,"ylabel":"Number of Articles"},"slug":"articles","name":"Wikipedia Articles","desc":"","dataset":"/data/datasources/rc/rc_article_count.csv","width":"auto","height":320,"chartType":"dygraphs","parents":["root"],"id":"articles"} \ No newline at end of file +{ + "chartType": "dygraphs", + "desc": "", + "height": 250, + "id": "articles", + "name": "Wikipedia Articles", + "parents": [ + "root" + ], + "slug": "articles", + "width": "auto", + "options": { + "animatedZooms": true, + "avoidMinZero": false, + "axis": null, + "axisLabelColor": "#666666", + "axisLabelFontSize": 11, + "axisLabelFormatter": null, + "axisLabelWidth": 50, + "axisLineColor": "#AAAAAA", + "axisLineWidth": 0.3, + "axisTickSize": 3, + "colorSaturation": 1, + "colorValue": 0.5, + "colors": [ + "#FF0097", + "#EF8158", + "#83BB32", + "#182B53", + "#4596FF", + "#553DC9", + "#AD3238", + "#00FFBC", + "#F1D950" + ], + "connectSeparatedPoints": false, + "customBars": false, + "dateWindow": null, + "delimiter": ",", + "digitsAfterDecimal": 2, + "displayAnnotations": false, + "drawPoints": true, + "drawXAxis": true, + "drawXGrid": true, + "drawYAxis": true, + "drawYGrid": true, + "errorBars": false, + "file": null, + "fillAlpha": 0.15, + "fillGraph": false, + "fractions": false, + "gridLineColor": "#D8D8D8", + "gridLineWidth": 0.3, + "hideOverlayOnMouseOut": false, + "highlightCircleSize": 4, + "includeZero": false, + "interactionModel": null, + "isZoomedIgnoreProgrammaticZoom": false, + "labels": null, + "labelsDiv": null, + "labelsDivStyles": null, + "labelsDivWidth": 250, + "labelsKMB": true, + "labelsKMG2": false, + "labelsSeparateLines": true, + "labelsShowZeroValues": true, + "legend": "always", + "logscale": true, + "maxNumberWidth": 30, + "panEdgeFraction": null, + "pixelsPerLabel": null, + "pixelsPerXLabel": null, + "pixelsPerYLabel": null, + "pointSize": 1, + "rangeSelectorHeight": 40, + "rangeSelectorPlotFillColor": "#A7B1C4", + "rangeSelectorPlotStrokeColor": "#808FAB", + "rightGap": 20, + "rollPeriod": 1, + "showLabelsOnHighlight": true, + "showRangeSelector": false, + "showRoller": false, + "sigFigs": null, + "sigma": 2, + "stackedGraph": false, + "stepPlot": false, + "strokePattern": null, + "strokeWidth": 3, + "ticker": null, + "title": null, + "titleHeight": 18, + "valueFormatter": null, + "valueRange": null, + "visibility": [ + 0, + 1, + 1, + 1, + 1, + 1, + 1, + 1 + ], + "wilsonInterval": true, + "xAxisHeight": null, + "xAxisLabelFormatter": null, + "xAxisLabelWidth": 55, + "xLabelHeight": 18, + "xValueFormatter": null, + "xValueParser": null, + "xlabel": null, + "y2label": null, + "yAxisLabelFormatter": null, + "yAxisLabelWidth": 50, + "yLabelWidth": 18, + "yValueFormatter": null, + "ylabel": "Number of Articles" + }, + + "data": { + "palette": null, + "lines": [], + "id": "commons", + "metrics": [ + {"timespan": {"start": null, "step": null, "end": null}, "color": "rgb(116,173,209)", "disabled": false, "visible": true, "transforms": [], "index": 0, "scale": 1, "format_axis": null, "label": "Total", "format_value": null, "source_id": "rc_article_count", "type": "int", "source_col": 1} + , + {"timespan": {"start": null, "step": null, "end": null}, "color": "rgb(49,54,149)", "disabled": false, "visible": true, "transforms": [], "index": 0, "scale": 1, "format_axis": null, "label": "English", "format_value": null, "source_id": "rc_article_count", "type": "int", "source_col": 2} + , + {"timespan": {"start": null, "step": null, "end": null}, "color": "rgb(254,224,144)", "disabled": false, "visible": true, "transforms": [], "index": 0, "scale": 1, "format_axis": null, "label": "French", "format_value": null, "source_id": "rc_article_count", "type": "int", "source_col": 3} + , + {"timespan": {"start": null, "step": null, "end": null}, "color": "rgb(165,0,38)", "disabled": false, "visible": true, "transforms": [], "index": 0, "scale": 1, "format_axis": null, "label": "Italian", "format_value": null, "source_id": "rc_article_count", "type": "int", "source_col": 4} + , + {"timespan": {"start": null, "step": null, "end": null}, "color": "rgb(244,109,67)", "disabled": false, "visible": true, "transforms": [], "index": 0, "scale": 1, "format_axis": null, "label": "German", "format_value": null, "source_id": "rc_article_count", "type": "int", "source_col": 5} + , + {"timespan": {"start": null, "step": null, "end": null}, "color": "rgb(224,243,248)", "disabled": false, "visible": true, "transforms": [], "index": 0, "scale": 1, "format_axis": null, "label": "Russian", "format_value": null, "source_id": "rc_article_count", "type": "int", "source_col": 6} + , + {"timespan": {"start": null, "step": null, "end": null}, "color": "rgb(255,255,191)", "disabled": false, "visible": true, "transforms": [], "index": 0, "scale": 1, "format_axis": null, "label": "Japanese", "format_value": null, "source_id": "rc_article_count", "type": "int", "source_col": 7} + , + {"timespan": {"start": null, "step": null, "end": null}, "disabled": false, "visible": true, "transforms": [], "index": 0, "scale": 1, "format_axis": null, "label": "Portuguese", "format_value": null, "source_id": "rc_article_count", "type": "int", "source_col": 8} + ] + } + +} diff --git a/data/graphs/articles_per_day.json b/data/graphs/articles_per_day.json index 1730778..329c31d 100644 --- a/data/graphs/articles_per_day.json +++ b/data/graphs/articles_per_day.json @@ -1 +1,211 @@ -{"options":{"animatedZooms":true,"avoidMinZero":false,"axis":null,"axisLabelColor":"#666666","axisLabelFontSize":11,"axisLabelFormatter":null,"axisLabelWidth":50,"axisLineColor":"#AAAAAA","axisLineWidth":0.3,"axisTickSize":3,"colorSaturation":1,"colorValue":0.5,"colors":["#FF0097","#EF8158","#83BB32","#182B53","#4596FF","#553DC9","#AD3238","#00FFBC","#F1D950"],"connectSeparatedPoints":false,"customBars":false,"dateWindow":null,"delimiter":",","digitsAfterDecimal":2,"displayAnnotations":false,"drawPoints":true,"drawXAxis":true,"drawXGrid":true,"drawYAxis":true,"drawYGrid":true,"errorBars":false,"file":null,"fillAlpha":0.15,"fillGraph":false,"fractions":false,"gridLineColor":"#D8D8D8","gridLineWidth":0.3,"hideOverlayOnMouseOut":false,"highlightCircleSize":4,"includeZero":false,"interactionModel":null,"isZoomedIgnoreProgrammaticZoom":false,"labels":null,"labelsDiv":null,"labelsDivStyles":null,"labelsDivWidth":250,"labelsKMB":true,"labelsKMG2":false,"labelsSeparateLines":true,"labelsShowZeroValues":true,"legend":"always","logscale":true,"maxNumberWidth":30,"panEdgeFraction":null,"pixelsPerLabel":null,"pixelsPerXLabel":null,"pixelsPerYLabel":null,"pointSize":1,"rangeSelectorHeight":40,"rangeSelectorPlotFillColor":"#A7B1C4","rangeSelectorPlotStrokeColor":"#808FAB","rightGap":20,"rollPeriod":1,"showLabelsOnHighlight":true,"showRangeSelector":false,"showRoller":false,"sigFigs":null,"sigma":2,"stackedGraph":false,"stepPlot":false,"strokePattern":null,"strokeWidth":3,"ticker":null,"title":null,"titleHeight":18,"valueFormatter":null,"valueRange":null,"visibility":null,"wilsonInterval":true,"xAxisHeight":null,"xAxisLabelFormatter":null,"xAxisLabelWidth":55,"xLabelHeight":18,"xValueFormatter":null,"xValueParser":null,"xlabel":null,"y2label":null,"yAxisLabelFormatter":null,"yAxisLabelWidth":50,"yLabelWidth":18,"yValueFormatter":null,"ylabel":"Number of Articles"},"slug":"articles_per_day","name":"New Wikipedia Articles per Day","desc":"","dataset":"/data/datasources/rc/rc_new_article_count.csv","width":"auto","height":320,"chartType":"dygraphs","parents":["root"],"id":"articles_per_day"} \ No newline at end of file +{ + "chartType": "dygraphs", + "data": { + "id": "articles_per_day", + "lines": [], + "metrics": [ + { + "color": "rgb(116,173,209)", + "disabled": false, + "format_axis": null, + "format_value": null, + "index": 0, + "label": "Total", + "scale": 1, + "source_col": 1, + "source_id": "rc_new_article_count", + "timespan": { + "end": null, + "start": null, + "step": null + }, + "transforms": [], + "type": "int", + "visible": true + }, + { + "color": "rgb(49,54,149)", + "disabled": false, + "format_axis": null, + "format_value": null, + "index": 0, + "label": "English", + "scale": 1, + "source_col": 2, + "source_id": "rc_new_article_count", + "timespan": { + "end": null, + "start": null, + "step": null + }, + "transforms": [], + "type": "int", + "visible": true + }, + { + "color": "rgb(215,48,39)", + "disabled": false, + "format_axis": null, + "format_value": null, + "index": 0, + "label": "Chinese", + "scale": 1, + "source_col": 3, + "source_id": "rc_new_article_count", + "timespan": { + "end": null, + "start": null, + "step": null + }, + "transforms": [], + "type": "int", + "visible": true + }, + { + "color": "rgb(254,224,144)", + "disabled": false, + "format_axis": null, + "format_value": null, + "index": 0, + "label": "French", + "scale": 1, + "source_col": 4, + "source_id": "rc_new_article_count", + "timespan": { + "end": null, + "start": null, + "step": null + }, + "transforms": [], + "type": "int", + "visible": true + }, + { + "disabled": false, + "format_axis": null, + "format_value": null, + "index": 0, + "label": "Swedish", + "scale": 1, + "source_col": 5, + "source_id": "rc_new_article_count", + "timespan": { + "end": null, + "start": null, + "step": null + }, + "transforms": [], + "type": "int", + "visible": true + } + ], + "palette": null + }, + "desc": "", + "height": 250, + "id": "articles_per_day", + "name": "New Wikipedia Articles per Day", + "options": { + "animatedZooms": true, + "avoidMinZero": false, + "axis": null, + "axisLabelColor": "#666666", + "axisLabelFontSize": 11, + "axisLabelFormatter": null, + "axisLabelWidth": 50, + "axisLineColor": "#AAAAAA", + "axisLineWidth": 0.3, + "axisTickSize": 3, + "colorSaturation": 1, + "colorValue": 0.5, + "colors": [ + "#FF0097", + "#EF8158", + "#83BB32", + "#182B53", + "#4596FF", + "#553DC9", + "#AD3238", + "#00FFBC", + "#F1D950" + ], + "connectSeparatedPoints": false, + "customBars": false, + "dateWindow": null, + "delimiter": ",", + "digitsAfterDecimal": 2, + "displayAnnotations": false, + "drawPoints": true, + "drawXAxis": true, + "drawXGrid": true, + "drawYAxis": true, + "drawYGrid": true, + "errorBars": false, + "file": null, + "fillAlpha": 0.15, + "fillGraph": false, + "fractions": false, + "gridLineColor": "#D8D8D8", + "gridLineWidth": 0.3, + "hideOverlayOnMouseOut": false, + "highlightCircleSize": 4, + "includeZero": false, + "interactionModel": null, + "isZoomedIgnoreProgrammaticZoom": false, + "labels": null, + "labelsDiv": null, + "labelsDivStyles": null, + "labelsDivWidth": 250, + "labelsKMB": true, + "labelsKMG2": false, + "labelsSeparateLines": true, + "labelsShowZeroValues": true, + "legend": "always", + "logscale": true, + "maxNumberWidth": 30, + "panEdgeFraction": null, + "pixelsPerLabel": null, + "pixelsPerXLabel": null, + "pixelsPerYLabel": null, + "pointSize": 1, + "rangeSelectorHeight": 40, + "rangeSelectorPlotFillColor": "#A7B1C4", + "rangeSelectorPlotStrokeColor": "#808FAB", + "rightGap": 20, + "rollPeriod": 1, + "showLabelsOnHighlight": true, + "showRangeSelector": false, + "showRoller": false, + "sigFigs": null, + "sigma": 2, + "stackedGraph": false, + "stepPlot": false, + "strokePattern": null, + "strokeWidth": 3, + "ticker": null, + "title": null, + "titleHeight": 18, + "valueFormatter": null, + "valueRange": null, + "visibility": null, + "wilsonInterval": true, + "xAxisHeight": null, + "xAxisLabelFormatter": null, + "xAxisLabelWidth": 55, + "xLabelHeight": 18, + "xValueFormatter": null, + "xValueParser": null, + "xlabel": null, + "y2label": null, + "yAxisLabelFormatter": null, + "yAxisLabelWidth": 50, + "yLabelWidth": 18, + "yValueFormatter": null, + "ylabel": "Number of Articles" + }, + "parents": [ + "root" + ], + "slug": "articles_per_day", + "width": "auto" +} diff --git a/data/graphs/commons.json b/data/graphs/commons.json index 9f7028b..9525f8e 100644 --- a/data/graphs/commons.json +++ b/data/graphs/commons.json @@ -1 +1,138 @@ -{"options":{"animatedZooms":true,"avoidMinZero":false,"axis":null,"axisLabelColor":"#666666","axisLabelFontSize":11,"axisLabelFormatter":null,"axisLabelWidth":50,"axisLineColor":"#AAAAAA","axisLineWidth":0.3,"axisTickSize":3,"colorSaturation":1,"colorValue":0.5,"colors":["#FF0097","#EF8158","#83BB32","#182B53","#4596FF","#553DC9","#AD3238","#00FFBC","#F1D950"],"connectSeparatedPoints":false,"customBars":false,"dateWindow":null,"delimiter":",","digitsAfterDecimal":2,"displayAnnotations":false,"drawPoints":true,"drawXAxis":true,"drawXGrid":true,"drawYAxis":true,"drawYGrid":true,"errorBars":false,"file":null,"fillAlpha":0.15,"fillGraph":false,"fractions":false,"gridLineColor":"#D8D8D8","gridLineWidth":0.3,"hideOverlayOnMouseOut":false,"highlightCircleSize":4,"includeZero":false,"interactionModel":null,"isZoomedIgnoreProgrammaticZoom":false,"labels":null,"labelsDiv":null,"labelsDivStyles":null,"labelsDivWidth":250,"labelsKMB":true,"labelsKMG2":false,"labelsSeparateLines":true,"labelsShowZeroValues":true,"legend":"always","logscale":true,"maxNumberWidth":30,"panEdgeFraction":null,"pixelsPerLabel":null,"pixelsPerXLabel":null,"pixelsPerYLabel":null,"pointSize":1,"rangeSelectorHeight":40,"rangeSelectorPlotFillColor":"#A7B1C4","rangeSelectorPlotStrokeColor":"#808FAB","rightGap":20,"rollPeriod":1,"showLabelsOnHighlight":true,"showRangeSelector":false,"showRoller":false,"sigFigs":null,"sigma":2,"stackedGraph":false,"stepPlot":false,"strokePattern":null,"strokeWidth":3,"ticker":null,"title":null,"titleHeight":18,"valueFormatter":null,"valueRange":null,"visibility":null,"wilsonInterval":true,"xAxisHeight":null,"xAxisLabelFormatter":null,"xAxisLabelWidth":55,"xLabelHeight":18,"xValueFormatter":null,"xValueParser":null,"xlabel":null,"y2label":null,"yAxisLabelFormatter":null,"yAxisLabelWidth":50,"yLabelWidth":18,"yValueFormatter":null,"ylabel":"Number of Files (log)"},"slug":"commons","name":"Commons Binaries (log scale)","desc":"","dataset":"/data/datasources/rc/rc_binary_files.csv","width":"auto","height":320,"chartType":"dygraphs","parents":["root"],"id":"commons"} \ No newline at end of file +{ + "options": { + "animatedZooms": true, + "avoidMinZero": false, + "axis": null, + "axisLabelColor": "#666666", + "axisLabelFontSize": 11, + "axisLabelFormatter": null, + "axisLabelWidth": 50, + "axisLineColor": "#AAAAAA", + "axisLineWidth": 0.3, + "axisTickSize": 3, + "colorSaturation": 1, + "colorValue": 0.5, + "colors": [ + "#FF0097", + "#EF8158", + "#83BB32", + "#182B53", + "#4596FF", + "#553DC9", + "#AD3238", + "#00FFBC", + "#F1D950" + ], + "connectSeparatedPoints": false, + "customBars": false, + "dateWindow": null, + "delimiter": ",", + "digitsAfterDecimal": 2, + "displayAnnotations": false, + "drawPoints": true, + "drawXAxis": true, + "drawXGrid": true, + "drawYAxis": true, + "drawYGrid": true, + "errorBars": false, + "file": null, + "fillAlpha": 0.15, + "fillGraph": false, + "fractions": false, + "gridLineColor": "#D8D8D8", + "gridLineWidth": 0.3, + "hideOverlayOnMouseOut": false, + "highlightCircleSize": 4, + "includeZero": false, + "interactionModel": null, + "isZoomedIgnoreProgrammaticZoom": false, + "labels": null, + "labelsDiv": null, + "labelsDivStyles": null, + "labelsDivWidth": 250, + "labelsKMB": true, + "labelsKMG2": false, + "labelsSeparateLines": true, + "labelsShowZeroValues": true, + "legend": "always", + "logscale": true, + "maxNumberWidth": 30, + "panEdgeFraction": null, + "pixelsPerLabel": null, + "pixelsPerXLabel": null, + "pixelsPerYLabel": null, + "pointSize": 1, + "rangeSelectorHeight": 40, + "rangeSelectorPlotFillColor": "#A7B1C4", + "rangeSelectorPlotStrokeColor": "#808FAB", + "rightGap": 20, + "rollPeriod": 1, + "showLabelsOnHighlight": true, + "showRangeSelector": false, + "showRoller": false, + "sigFigs": null, + "sigma": 2, + "stackedGraph": false, + "stepPlot": false, + "strokePattern": null, + "strokeWidth": 3, + "ticker": null, + "title": null, + "titleHeight": 18, + "valueFormatter": null, + "valueRange": null, + "visibility": null, + "wilsonInterval": true, + "xAxisHeight": null, + "xAxisLabelFormatter": null, + "xAxisLabelWidth": 55, + "xLabelHeight": 18, + "xValueFormatter": null, + "xValueParser": null, + "xlabel": null, + "y2label": null, + "yAxisLabelFormatter": null, + "yAxisLabelWidth": 50, + "yLabelWidth": 18, + "yValueFormatter": null, + "ylabel": "Number of Files (log)" + }, + "slug": "commons", + "id": "commons", + "name": "Commons Binaries (log scale)", + "desc": "", + "notes": "", + "height": 250, + "width": "auto", + "parents": ["root"], + "chartType": "dygraphs", + + "data": { + "palette": null, + "lines": [], + "id": "commons", + "metrics": [ + {"timespan": {"start": null, "step": null, "end": null}, "color": "rgb(116,173,209)", "disabled": false, "visible": true, "transforms": [], "index": 0, "scale": 1, "format_axis": null, "label": "Total", "format_value": null, "source_id": "rc_binary_files", "type": "int", "source_col": 1} + , + {"timespan": {"start": null, "step": null, "end": null}, "disabled": false, "visible": true, "transforms": [], "index": 0, "scale": 1, "format_axis": null, "label": "jpg", "format_value": null, "source_id": "rc_binary_files", "type": "int", "source_col": 2} + , + {"timespan": {"start": null, "step": null, "end": null}, "disabled": false, "visible": true, "transforms": [], "index": 0, "scale": 1, "format_axis": null, "label": "png", "format_value": null, "source_id": "rc_binary_files", "type": "int", "source_col": 3} + , + {"timespan": {"start": null, "step": null, "end": null}, "disabled": false, "visible": true, "transforms": [], "index": 0, "scale": 1, "format_axis": null, "label": "svg", "format_value": null, "source_id": "rc_binary_files", "type": "int", "source_col": 4} + , + {"timespan": {"start": null, "step": null, "end": null}, "disabled": false, "visible": true, "transforms": [], "index": 0, "scale": 1, "format_axis": null, "label": "ogg", "format_value": null, "source_id": "rc_binary_files", "type": "int", "source_col": 5} + , + {"timespan": {"start": null, "step": null, "end": null}, "disabled": false, "visible": true, "transforms": [], "index": 0, "scale": 1, "format_axis": null, "label": "gif", "format_value": null, "source_id": "rc_binary_files", "type": "int", "source_col": 6} + , + {"timespan": {"start": null, "step": null, "end": null}, "disabled": false, "visible": true, "transforms": [], "index": 0, "scale": 1, "format_axis": null, "label": "tif", "format_value": null, "source_id": "rc_binary_files", "type": "int", "source_col": 7} + , + {"timespan": {"start": null, "step": null, "end": null}, "disabled": false, "visible": true, "transforms": [], "index": 0, "scale": 1, "format_axis": null, "label": "pdf", "format_value": null, "source_id": "rc_binary_files", "type": "int", "source_col": 8} + , + {"timespan": {"start": null, "step": null, "end": null}, "disabled": false, "visible": true, "transforms": [], "index": 0, "scale": 1, "format_axis": null, "label": "djvu", "format_value": null, "source_id": "rc_binary_files", "type": "int", "source_col": 9} + , + {"timespan": {"start": null, "step": null, "end": null}, "disabled": false, "visible": true, "transforms": [], "index": 0, "scale": 1, "format_axis": null, "label": "ogv", "format_value": null, "source_id": "rc_binary_files", "type": "int", "source_col": 10} + , + {"timespan": {"start": null, "step": null, "end": null}, "disabled": false, "visible": true, "transforms": [], "index": 0, "scale": 1, "format_axis": null, "label": "mid", "format_value": null, "source_id": "rc_binary_files", "type": "int", "source_col": 11} + ] + } +} diff --git a/data/graphs/edits.json b/data/graphs/edits.json index 7df0023..410c9da 100644 --- a/data/graphs/edits.json +++ b/data/graphs/edits.json @@ -1 +1,213 @@ -{"options":{"animatedZooms":true,"avoidMinZero":false,"axis":null,"axisLabelColor":"#666666","axisLabelFontSize":11,"axisLabelFormatter":null,"axisLabelWidth":50,"axisLineColor":"#AAAAAA","axisLineWidth":0.3,"axisTickSize":3,"colorSaturation":1,"colorValue":0.5,"colors":["#FF0097","#EF8158","#83BB32","#182B53","#4596FF","#553DC9","#AD3238","#00FFBC","#F1D950"],"connectSeparatedPoints":false,"customBars":false,"dateWindow":null,"delimiter":",","digitsAfterDecimal":2,"displayAnnotations":false,"drawPoints":true,"drawXAxis":true,"drawXGrid":true,"drawYAxis":true,"drawYGrid":true,"errorBars":false,"file":null,"fillAlpha":0.15,"fillGraph":false,"fractions":false,"gridLineColor":"#D8D8D8","gridLineWidth":0.3,"hideOverlayOnMouseOut":false,"highlightCircleSize":4,"includeZero":false,"interactionModel":null,"isZoomedIgnoreProgrammaticZoom":false,"labels":null,"labelsDiv":null,"labelsDivStyles":null,"labelsDivWidth":250,"labelsKMB":true,"labelsKMG2":false,"labelsSeparateLines":true,"labelsShowZeroValues":true,"legend":"always","logscale":true,"maxNumberWidth":30,"panEdgeFraction":null,"pixelsPerLabel":null,"pixelsPerXLabel":null,"pixelsPerYLabel":null,"pointSize":1,"rangeSelectorHeight":40,"rangeSelectorPlotFillColor":"#A7B1C4","rangeSelectorPlotStrokeColor":"#808FAB","rightGap":20,"rollPeriod":1,"showLabelsOnHighlight":true,"showRangeSelector":false,"showRoller":false,"sigFigs":null,"sigma":2,"stackedGraph":false,"stepPlot":false,"strokePattern":null,"strokeWidth":3,"ticker":null,"title":null,"titleHeight":18,"valueFormatter":null,"valueRange":null,"visibility":null,"wilsonInterval":true,"xAxisHeight":null,"xAxisLabelFormatter":null,"xAxisLabelWidth":55,"xLabelHeight":18,"xValueFormatter":null,"xValueParser":null,"xlabel":null,"y2label":null,"yAxisLabelFormatter":null,"yAxisLabelWidth":50,"yLabelWidth":18,"yValueFormatter":null,"ylabel":"Number of edits"},"slug":"edits","name":"Wikipedia Edits per Month","desc":"","dataset":"/data/datasources/rc/rc_edits_count.csv","width":"auto","height":320,"chartType":"dygraphs","parents":["root"],"id":"edits"} \ No newline at end of file +{ + "chartType": "dygraphs", + "data": { + "id": "edits", + "lines": [], + "metrics": [ + { + "color": "rgb(116,173,209)", + "disabled": false, + "format_axis": null, + "format_value": null, + "index": 0, + "label": "Total", + "scale": 1, + "source_col": 1, + "source_id": "rc_edits_count", + "timespan": { + "end": null, + "start": null, + "step": null + }, + "transforms": [], + "type": "int", + "visible": true + }, + { + "color": "rgb(49,54,149)", + "disabled": false, + "format_axis": null, + "format_value": null, + "index": 0, + "label": "English", + "scale": 1, + "source_col": 2, + "source_id": "rc_edits_count", + "timespan": { + "end": null, + "start": null, + "step": null + }, + "transforms": [], + "type": "int", + "visible": true + }, + { + "color": "rgb(244,109,67)", + "disabled": false, + "format_axis": null, + "format_value": null, + "index": 0, + "label": "German", + "scale": 1, + "source_col": 3, + "source_id": "rc_edits_count", + "timespan": { + "end": null, + "start": null, + "step": null + }, + "transforms": [], + "type": "int", + "visible": true + }, + { + "color": "rgb(254,224,144)", + "disabled": false, + "format_axis": null, + "format_value": null, + "index": 0, + "label": "French", + "scale": 1, + "source_col": 4, + "source_id": "rc_edits_count", + "timespan": { + "end": null, + "start": null, + "step": null + }, + "transforms": [], + "type": "int", + "visible": true + }, + { + "color": "rgb(224,243,248)", + "disabled": false, + "format_axis": null, + "format_value": null, + "index": 0, + "label": "Russian", + "scale": 1, + "source_col": 5, + "source_id": "rc_edits_count", + "timespan": { + "end": null, + "start": null, + "step": null + }, + "transforms": [], + "type": "int", + "visible": true + } + ], + "palette": null + }, + "dataset": "/data/datasources/rc/rc_edits_count.csv", + "desc": "", + "height": 320, + "id": "edits", + "name": "Wikipedia Edits per Month", + "options": { + "animatedZooms": true, + "avoidMinZero": false, + "axis": null, + "axisLabelColor": "#666666", + "axisLabelFontSize": 11, + "axisLabelFormatter": null, + "axisLabelWidth": 50, + "axisLineColor": "#AAAAAA", + "axisLineWidth": 0.3, + "axisTickSize": 3, + "colorSaturation": 1, + "colorValue": 0.5, + "colors": [ + "#FF0097", + "#EF8158", + "#83BB32", + "#182B53", + "#4596FF", + "#553DC9", + "#AD3238", + "#00FFBC", + "#F1D950" + ], + "connectSeparatedPoints": false, + "customBars": false, + "dateWindow": null, + "delimiter": ",", + "digitsAfterDecimal": 2, + "displayAnnotations": false, + "drawPoints": true, + "drawXAxis": true, + "drawXGrid": true, + "drawYAxis": true, + "drawYGrid": true, + "errorBars": false, + "file": null, + "fillAlpha": 0.15, + "fillGraph": false, + "fractions": false, + "gridLineColor": "#D8D8D8", + "gridLineWidth": 0.3, + "hideOverlayOnMouseOut": false, + "highlightCircleSize": 4, + "includeZero": false, + "interactionModel": null, + "isZoomedIgnoreProgrammaticZoom": false, + "labels": null, + "labelsDiv": null, + "labelsDivStyles": null, + "labelsDivWidth": 250, + "labelsKMB": true, + "labelsKMG2": false, + "labelsSeparateLines": true, + "labelsShowZeroValues": true, + "legend": "always", + "logscale": true, + "maxNumberWidth": 30, + "panEdgeFraction": null, + "pixelsPerLabel": null, + "pixelsPerXLabel": null, + "pixelsPerYLabel": null, + "pointSize": 1, + "rangeSelectorHeight": 40, + "rangeSelectorPlotFillColor": "#A7B1C4", + "rangeSelectorPlotStrokeColor": "#808FAB", + "rightGap": 20, + "rollPeriod": 1, + "showLabelsOnHighlight": true, + "showRangeSelector": false, + "showRoller": false, + "sigFigs": null, + "sigma": 2, + "stackedGraph": false, + "stepPlot": false, + "strokePattern": null, + "strokeWidth": 3, + "ticker": null, + "title": null, + "titleHeight": 18, + "valueFormatter": null, + "valueRange": null, + "visibility": null, + "wilsonInterval": true, + "xAxisHeight": null, + "xAxisLabelFormatter": null, + "xAxisLabelWidth": 55, + "xLabelHeight": 18, + "xValueFormatter": null, + "xValueParser": null, + "xlabel": null, + "y2label": null, + "yAxisLabelFormatter": null, + "yAxisLabelWidth": 50, + "yLabelWidth": 18, + "yValueFormatter": null, + "ylabel": "Number of edits" + }, + "parents": [ + "root" + ], + "slug": "edits", + "width": "auto" +} diff --git a/data/graphs/new_editors.json b/data/graphs/new_editors.json index 6ddba17..ceb6b73 100644 --- a/data/graphs/new_editors.json +++ b/data/graphs/new_editors.json @@ -1 +1,307 @@ -{"options":{"animatedZooms":true,"avoidMinZero":false,"axis":null,"axisLabelColor":"#666666","axisLabelFontSize":11,"axisLabelFormatter":null,"axisLabelWidth":50,"axisLineColor":"#AAAAAA","axisLineWidth":0.3,"axisTickSize":3,"colorSaturation":1,"colorValue":0.5,"colors":["#FF0097","#EF8158","#83BB32","#182B53","#4596FF","#553DC9","#AD3238","#00FFBC","#F1D950"],"connectSeparatedPoints":false,"customBars":false,"dateWindow":null,"delimiter":",","digitsAfterDecimal":2,"displayAnnotations":false,"drawPoints":true,"drawXAxis":true,"drawXGrid":true,"drawYAxis":true,"drawYGrid":true,"errorBars":false,"file":null,"fillAlpha":0.15,"fillGraph":false,"fractions":false,"gridLineColor":"#D8D8D8","gridLineWidth":0.3,"hideOverlayOnMouseOut":false,"highlightCircleSize":4,"includeZero":false,"interactionModel":null,"isZoomedIgnoreProgrammaticZoom":false,"labels":null,"labelsDiv":null,"labelsDivStyles":null,"labelsDivWidth":250,"labelsKMB":true,"labelsKMG2":false,"labelsSeparateLines":true,"labelsShowZeroValues":true,"legend":"always","logscale":true,"maxNumberWidth":30,"panEdgeFraction":null,"pixelsPerLabel":null,"pixelsPerXLabel":null,"pixelsPerYLabel":null,"pointSize":1,"rangeSelectorHeight":40,"rangeSelectorPlotFillColor":"#A7B1C4","rangeSelectorPlotStrokeColor":"#808FAB","rightGap":20,"rollPeriod":1,"showLabelsOnHighlight":true,"showRangeSelector":false,"showRoller":false,"sigFigs":null,"sigma":2,"stackedGraph":false,"stepPlot":false,"strokePattern":null,"strokeWidth":3,"ticker":null,"title":null,"titleHeight":18,"valueFormatter":null,"valueRange":null,"visibility":null,"wilsonInterval":true,"xAxisHeight":null,"xAxisLabelFormatter":null,"xAxisLabelWidth":55,"xLabelHeight":18,"xValueFormatter":null,"xValueParser":null,"xlabel":null,"y2label":null,"yAxisLabelFormatter":null,"yAxisLabelWidth":50,"yLabelWidth":18,"yValueFormatter":null,"ylabel":"Number of Editors"},"slug":"new_editors","name":"New Editors Per Month for All Wikimedia Projects","desc":"Registered users with 10+ edits since their registration","dataset":"/data/datasources/rc/rc_new_editors_count.csv","width":"auto","height":320,"chartType":"dygraphs","parents":["root"],"id":"new_editors"} \ No newline at end of file +{ + "chartType": "dygraphs", + "data": { + "id": "new_editors", + "lines": [], + "metrics": [ + { + "color": "rgb(116,173,209)", + "disabled": false, + "format_axis": null, + "format_value": null, + "index": 0, + "label": "Total", + "scale": 1, + "source_col": 1, + "source_id": "rc_new_editors_count", + "timespan": { + "end": null, + "start": null, + "step": null + }, + "transforms": [], + "type": "int", + "visible": true + }, + { + "color": "rgb(49,54,149)", + "disabled": false, + "format_axis": null, + "format_value": null, + "index": 0, + "label": "English", + "scale": 1, + "source_col": 2, + "source_id": "rc_new_editors_count", + "timespan": { + "end": null, + "start": null, + "step": null + }, + "transforms": [], + "type": "int", + "visible": true + }, + { + "color": "rgb(69,117,180)", + "disabled": false, + "format_axis": null, + "format_value": null, + "index": 0, + "label": "Commons", + "scale": 1, + "source_col": 3, + "source_id": "rc_new_editors_count", + "timespan": { + "end": null, + "start": null, + "step": null + }, + "transforms": [], + "type": "int", + "visible": true + }, + { + "color": "rgb(254,224,144)", + "disabled": false, + "format_axis": null, + "format_value": null, + "index": 0, + "label": "French", + "scale": 1, + "source_col": 4, + "source_id": "rc_new_editors_count", + "timespan": { + "end": null, + "start": null, + "step": null + }, + "transforms": [], + "type": "int", + "visible": true + }, + { + "color": "rgb(224,243,248)", + "disabled": false, + "format_axis": null, + "format_value": null, + "index": 0, + "label": "Russian", + "scale": 1, + "source_col": 5, + "source_id": "rc_new_editors_count", + "timespan": { + "end": null, + "start": null, + "step": null + }, + "transforms": [], + "type": "int", + "visible": true + }, + { + "color": "rgb(255,255,191)", + "disabled": false, + "format_axis": null, + "format_value": null, + "index": 0, + "label": "Japanese", + "scale": 1, + "source_col": 6, + "source_id": "rc_new_editors_count", + "timespan": { + "end": null, + "start": null, + "step": null + }, + "transforms": [], + "type": "int", + "visible": true + }, + { + "color": "rgb(171,217,233)", + "disabled": false, + "format_axis": null, + "format_value": null, + "index": 0, + "label": "Spanish", + "scale": 1, + "source_col": 7, + "source_id": "rc_new_editors_count", + "timespan": { + "end": null, + "start": null, + "step": null + }, + "transforms": [], + "type": "int", + "visible": true + }, + { + "color": "rgb(165,0,38)", + "disabled": false, + "format_axis": null, + "format_value": null, + "index": 0, + "label": "Italian", + "scale": 1, + "source_col": 8, + "source_id": "rc_new_editors_count", + "timespan": { + "end": null, + "start": null, + "step": null + }, + "transforms": [], + "type": "int", + "visible": true + }, + { + "color": "rgb(244,109,67)", + "disabled": false, + "format_axis": null, + "format_value": null, + "index": 0, + "label": "German", + "scale": 1, + "source_col": 9, + "source_id": "rc_new_editors_count", + "timespan": { + "end": null, + "start": null, + "step": null + }, + "transforms": [], + "type": "int", + "visible": true + }, + { + "color": "rgb(215,48,39)", + "disabled": false, + "format_axis": null, + "format_value": null, + "index": 0, + "label": "Chinese", + "scale": 1, + "source_col": 10, + "source_id": "rc_new_editors_count", + "timespan": { + "end": null, + "start": null, + "step": null + }, + "transforms": [], + "type": "int", + "visible": true + } + ], + "palette": null + }, + "desc": "Registered users with 10+ edits since their registration", + "height": 250, + "id": "new_editors", + "name": "New Editors Per Month for All Wikimedia Projects", + "options": { + "animatedZooms": true, + "avoidMinZero": false, + "axis": null, + "axisLabelColor": "#666666", + "axisLabelFontSize": 11, + "axisLabelFormatter": null, + "axisLabelWidth": 50, + "axisLineColor": "#AAAAAA", + "axisLineWidth": 0.3, + "axisTickSize": 3, + "colorSaturation": 1, + "colorValue": 0.5, + "colors": [ + "#FF0097", + "#EF8158", + "#83BB32", + "#182B53", + "#4596FF", + "#553DC9", + "#AD3238", + "#00FFBC", + "#F1D950" + ], + "connectSeparatedPoints": false, + "customBars": false, + "dateWindow": null, + "delimiter": ",", + "digitsAfterDecimal": 2, + "displayAnnotations": false, + "drawPoints": true, + "drawXAxis": true, + "drawXGrid": true, + "drawYAxis": true, + "drawYGrid": true, + "errorBars": false, + "file": null, + "fillAlpha": 0.15, + "fillGraph": false, + "fractions": false, + "gridLineColor": "#D8D8D8", + "gridLineWidth": 0.3, + "hideOverlayOnMouseOut": false, + "highlightCircleSize": 4, + "includeZero": false, + "interactionModel": null, + "isZoomedIgnoreProgrammaticZoom": false, + "labels": null, + "labelsDiv": null, + "labelsDivStyles": null, + "labelsDivWidth": 250, + "labelsKMB": true, + "labelsKMG2": false, + "labelsSeparateLines": true, + "labelsShowZeroValues": true, + "legend": "always", + "logscale": true, + "maxNumberWidth": 30, + "panEdgeFraction": null, + "pixelsPerLabel": null, + "pixelsPerXLabel": null, + "pixelsPerYLabel": null, + "pointSize": 1, + "rangeSelectorHeight": 40, + "rangeSelectorPlotFillColor": "#A7B1C4", + "rangeSelectorPlotStrokeColor": "#808FAB", + "rightGap": 20, + "rollPeriod": 1, + "showLabelsOnHighlight": true, + "showRangeSelector": false, + "showRoller": false, + "sigFigs": null, + "sigma": 2, + "stackedGraph": false, + "stepPlot": false, + "strokePattern": null, + "strokeWidth": 3, + "ticker": null, + "title": null, + "titleHeight": 18, + "valueFormatter": null, + "valueRange": null, + "visibility": null, + "wilsonInterval": true, + "xAxisHeight": null, + "xAxisLabelFormatter": null, + "xAxisLabelWidth": 55, + "xLabelHeight": 18, + "xValueFormatter": null, + "xValueParser": null, + "xlabel": null, + "y2label": null, + "yAxisLabelFormatter": null, + "yAxisLabelWidth": 50, + "yLabelWidth": 18, + "yValueFormatter": null, + "ylabel": "Number of Editors" + }, + "parents": [ + "root" + ], + "slug": "new_editors", + "width": "auto" +} diff --git a/data/graphs/pageviews.json b/data/graphs/pageviews.json index 1bc1957..6eb248d 100644 --- a/data/graphs/pageviews.json +++ b/data/graphs/pageviews.json @@ -1 +1,250 @@ -{"options":{"animatedZooms":true,"avoidMinZero":false,"axis":null,"axisLabelColor":"#666666","axisLabelFontSize":11,"axisLabelFormatter":null,"axisLabelWidth":50,"axisLineColor":"#AAAAAA","axisLineWidth":0.3,"axisTickSize":3,"colorSaturation":1,"colorValue":0.5,"colors":["#FF0097","#EF8158","#83BB32","#182B53","#4596FF","#553DC9","#AD3238","#00FFBC","#F1D950"],"connectSeparatedPoints":false,"customBars":false,"dateWindow":null,"delimiter":",","digitsAfterDecimal":2,"displayAnnotations":false,"drawPoints":true,"drawXAxis":true,"drawXGrid":true,"drawYAxis":true,"drawYGrid":true,"errorBars":false,"file":null,"fillAlpha":0.15,"fillGraph":false,"fractions":false,"gridLineColor":"#D8D8D8","gridLineWidth":0.3,"hideOverlayOnMouseOut":false,"highlightCircleSize":4,"includeZero":false,"interactionModel":null,"isZoomedIgnoreProgrammaticZoom":false,"labels":null,"labelsDiv":null,"labelsDivStyles":null,"labelsDivWidth":250,"labelsKMB":true,"labelsKMG2":false,"labelsSeparateLines":true,"labelsShowZeroValues":true,"legend":"always","logscale":true,"maxNumberWidth":30,"panEdgeFraction":null,"pixelsPerLabel":null,"pixelsPerXLabel":null,"pixelsPerYLabel":null,"pointSize":1,"rangeSelectorHeight":40,"rangeSelectorPlotFillColor":"#A7B1C4","rangeSelectorPlotStrokeColor":"#808FAB","rightGap":20,"rollPeriod":1,"showLabelsOnHighlight":true,"showRangeSelector":false,"showRoller":false,"sigFigs":null,"sigma":2,"stackedGraph":false,"stepPlot":false,"strokePattern":null,"strokeWidth":3,"ticker":null,"title":null,"titleHeight":18,"valueFormatter":null,"valueRange":null,"visibility":null,"wilsonInterval":true,"xAxisHeight":null,"xAxisLabelFormatter":null,"xAxisLabelWidth":55,"xLabelHeight":18,"xValueFormatter":null,"xValueParser":null,"xlabel":null,"y2label":null,"yAxisLabelFormatter":null,"yAxisLabelWidth":50,"yLabelWidth":18,"yValueFormatter":null,"ylabel":"Number of Pageviews"},"slug":"pageviews","name":"Pageviews for All Wikimedia Projects","desc":"Due to server problems page view counts from squid logs for December 2009 - March 2010 are too low, estimated underreporting 10%-25%. View counts for all months have been normalized to 30 days.","dataset":"/data/datasources/rc/rc_page_requests.csv","width":"auto","height":320,"chartType":"dygraphs","parents":["root"],"id":"pageviews"} \ No newline at end of file +{ + "chartType": "dygraphs", + "data": { + "id": "pageviews", + "lines": [], + "metrics": [ + { + "color": "rgb(215,48,39)", + "disabled": false, + "format_axis": null, + "format_value": null, + "index": 0, + "label": "All projects", + "scale": 1, + "source_col": 1, + "source_id": "rc_page_requests", + "timespan": { + "end": null, + "start": null, + "step": null + }, + "transforms": [], + "type": "int", + "visible": true + }, + { + "color": "rgb(49,54,149)", + "disabled": false, + "format_axis": null, + "format_value": null, + "index": 0, + "label": "English", + "scale": 1, + "source_col": 2, + "source_id": "rc_page_requests", + "timespan": { + "end": null, + "start": null, + "step": null + }, + "transforms": [], + "type": "int", + "visible": true + }, + { + "color": "rgb(171,217,233)", + "disabled": false, + "format_axis": null, + "format_value": null, + "index": 0, + "label": "Spanish", + "scale": 1, + "source_col": 3, + "source_id": "rc_page_requests", + "timespan": { + "end": null, + "start": null, + "step": null + }, + "transforms": [], + "type": "int", + "visible": true + }, + { + "color": "rgb(255,255,191)", + "disabled": false, + "format_axis": null, + "format_value": null, + "index": 0, + "label": "Japanese", + "scale": 1, + "source_col": 4, + "source_id": "rc_page_requests", + "timespan": { + "end": null, + "start": null, + "step": null + }, + "transforms": [], + "type": "int", + "visible": true + }, + { + "color": "rgb(244,109,67)", + "disabled": false, + "format_axis": null, + "format_value": null, + "index": 0, + "label": "German", + "scale": 1, + "source_col": 5, + "source_id": "rc_page_requests", + "timespan": { + "end": null, + "start": null, + "step": null + }, + "transforms": [], + "type": "int", + "visible": true + }, + { + "color": "rgb(224,243,248)", + "disabled": false, + "format_axis": null, + "format_value": null, + "index": 0, + "label": "Russian", + "scale": 1, + "source_col": 6, + "source_id": "rc_page_requests", + "timespan": { + "end": null, + "start": null, + "step": null + }, + "transforms": [], + "type": "int", + "visible": true + }, + { + "color": "rgb(254,224,144)", + "disabled": false, + "format_axis": null, + "format_value": null, + "index": 0, + "label": "French", + "scale": 1, + "source_col": 7, + "source_id": "rc_page_requests", + "timespan": { + "end": null, + "start": null, + "step": null + }, + "transforms": [], + "type": "int", + "visible": true + } + ], + "palette": null + }, + "desc": "Due to server problems page view counts from squid logs for December 2009 - March 2010 are too low, estimated underreporting 10%-25%. View counts for all months have been normalized to 30 days.", + "height": 320, + "id": "pageviews", + "name": "Pageviews for All Wikimedia Projects", + "options": { + "animatedZooms": true, + "avoidMinZero": false, + "axis": null, + "axisLabelColor": "#666666", + "axisLabelFontSize": 11, + "axisLabelFormatter": null, + "axisLabelWidth": 50, + "axisLineColor": "#AAAAAA", + "axisLineWidth": 0.3, + "axisTickSize": 3, + "colorSaturation": 1, + "colorValue": 0.5, + "colors": [ + "#FF0097", + "#EF8158", + "#83BB32", + "#182B53", + "#4596FF", + "#553DC9", + "#AD3238", + "#00FFBC", + "#F1D950" + ], + "connectSeparatedPoints": false, + "customBars": false, + "dateWindow": null, + "delimiter": ",", + "digitsAfterDecimal": 2, + "displayAnnotations": false, + "drawPoints": true, + "drawXAxis": true, + "drawXGrid": true, + "drawYAxis": true, + "drawYGrid": true, + "errorBars": false, + "file": null, + "fillAlpha": 0.15, + "fillGraph": false, + "fractions": false, + "gridLineColor": "#D8D8D8", + "gridLineWidth": 0.3, + "hideOverlayOnMouseOut": false, + "highlightCircleSize": 4, + "includeZero": false, + "interactionModel": null, + "isZoomedIgnoreProgrammaticZoom": false, + "labels": null, + "labelsDiv": null, + "labelsDivStyles": null, + "labelsDivWidth": 250, + "labelsKMB": true, + "labelsKMG2": false, + "labelsSeparateLines": true, + "labelsShowZeroValues": true, + "legend": "always", + "logscale": true, + "maxNumberWidth": 30, + "panEdgeFraction": null, + "pixelsPerLabel": null, + "pixelsPerXLabel": null, + "pixelsPerYLabel": null, + "pointSize": 1, + "rangeSelectorHeight": 40, + "rangeSelectorPlotFillColor": "#A7B1C4", + "rangeSelectorPlotStrokeColor": "#808FAB", + "rightGap": 20, + "rollPeriod": 1, + "showLabelsOnHighlight": true, + "showRangeSelector": false, + "showRoller": false, + "sigFigs": null, + "sigma": 2, + "stackedGraph": false, + "stepPlot": false, + "strokePattern": null, + "strokeWidth": 3, + "ticker": null, + "title": null, + "titleHeight": 18, + "valueFormatter": null, + "valueRange": null, + "visibility": null, + "wilsonInterval": true, + "xAxisHeight": null, + "xAxisLabelFormatter": null, + "xAxisLabelWidth": 55, + "xLabelHeight": 18, + "xValueFormatter": null, + "xValueParser": null, + "xlabel": null, + "y2label": null, + "yAxisLabelFormatter": null, + "yAxisLabelWidth": 50, + "yLabelWidth": 18, + "yValueFormatter": null, + "ylabel": "Number of Pageviews" + }, + "parents": [ + "root" + ], + "slug": "pageviews", + "width": "auto" +} diff --git a/data/graphs/pageviews_mobile.json b/data/graphs/pageviews_mobile.json index ee248cb..741e816 100644 --- a/data/graphs/pageviews_mobile.json +++ b/data/graphs/pageviews_mobile.json @@ -1 +1,262 @@ -{"options":{"animatedZooms":true,"avoidMinZero":false,"axis":null,"axisLabelColor":"#666666","axisLabelFontSize":14,"axisLabelFormatter":null,"axisLabelWidth":50,"axisLineColor":"#AAAAAA","axisLineWidth":0.3,"axisTickSize":3,"colorSaturation":1,"colorValue":0.5,"colors":["#FF0097","#EF8158","#83BB32","#182B53","#4596FF","#553DC9","#AD3238","#00FFBC","#F1D950"],"connectSeparatedPoints":false,"customBars":false,"dateWindow":null,"delimiter":",","digitsAfterDecimal":2,"displayAnnotations":false,"drawPoints":true,"drawXAxis":true,"drawXGrid":true,"drawYAxis":true,"drawYGrid":true,"errorBars":false,"file":null,"fillAlpha":0.15,"fillGraph":false,"fractions":false,"gridLineColor":"#D8D8D8","gridLineWidth":0.3,"hideOverlayOnMouseOut":false,"highlightCircleSize":4,"includeZero":false,"interactionModel":null,"isZoomedIgnoreProgrammaticZoom":false,"labels":null,"labelsDiv":null,"labelsDivStyles":null,"labelsDivWidth":250,"labelsKMB":true,"labelsKMG2":false,"labelsSeparateLines":true,"labelsShowZeroValues":true,"legend":"always","logscale":true,"maxNumberWidth":30,"panEdgeFraction":null,"pixelsPerLabel":null,"pixelsPerXLabel":null,"pixelsPerYLabel":null,"pointSize":1,"rangeSelectorHeight":40,"rangeSelectorPlotFillColor":"#A7B1C4","rangeSelectorPlotStrokeColor":"#808FAB","rightGap":20,"rollPeriod":1,"showLabelsOnHighlight":true,"showRangeSelector":false,"showRoller":false,"sigFigs":null,"sigma":2,"stackedGraph":false,"stepPlot":false,"strokePattern":null,"strokeWidth":3,"ticker":null,"title":null,"titleHeight":18,"valueFormatter":null,"valueRange":null,"visibility":null,"wilsonInterval":true,"xAxisHeight":null,"xAxisLabelFormatter":null,"xAxisLabelWidth":55,"xLabelHeight":18,"xValueFormatter":null,"xValueParser":null,"xlabel":null,"y2label":null,"yAxisLabelFormatter":null,"yAxisLabelWidth":50,"yLabelWidth":18,"yValueFormatter":null,"ylabel":null},"slug":"pageviews_mobile","name":"Page Views to Mobile Site","desc":"","dataset":"/data/datasources/rc/rc_page_requests_mobile.csv","width":"auto","height":320,"chartType":"dygraphs","parents":["root"],"id":"pageviews_mobile"} \ No newline at end of file +{ + "chartType": "dygraphs", + "data": { + "id": "pageviews_mobile", + "lines": [], + "metrics": [ + { + "color": "rgb(215,48,39)", + "disabled": false, + "format_axis": null, + "format_value": null, + "index": 0, + "label": "All projects", + "scale": 1, + "source_col": 1, + "source_id": "rc_page_requests_mobile", + "timespan": { + "end": null, + "start": null, + "step": null + }, + "transforms": [], + "type": "int", + "visible": true + }, + { + "disabled": false, + "format_axis": null, + "format_value": null, + "index": 0, + "label": "English Mobile", + "scale": 1, + "source_col": 2, + "source_id": "rc_page_requests_mobile", + "timespan": { + "end": null, + "start": null, + "step": null + }, + "transforms": [], + "type": "int", + "visible": true + }, + { + "disabled": false, + "format_axis": null, + "format_value": null, + "index": 0, + "label": "Japanese Mobile", + "scale": 1, + "source_col": 3, + "source_id": "rc_page_requests_mobile", + "timespan": { + "end": null, + "start": null, + "step": null + }, + "transforms": [], + "type": "int", + "visible": true + }, + { + "disabled": false, + "format_axis": null, + "format_value": null, + "index": 0, + "label": "German Mobile", + "scale": 1, + "source_col": 4, + "source_id": "rc_page_requests_mobile", + "timespan": { + "end": null, + "start": null, + "step": null + }, + "transforms": [], + "type": "int", + "visible": true + }, + { + "disabled": false, + "format_axis": null, + "format_value": null, + "index": 0, + "label": "Spanish Mobile", + "scale": 1, + "source_col": 5, + "source_id": "rc_page_requests_mobile", + "timespan": { + "end": null, + "start": null, + "step": null + }, + "transforms": [], + "type": "int", + "visible": true + }, + { + "disabled": false, + "format_axis": null, + "format_value": null, + "index": 0, + "label": "French Mobile", + "scale": 1, + "source_col": 6, + "source_id": "rc_page_requests_mobile", + "timespan": { + "end": null, + "start": null, + "step": null + }, + "transforms": [], + "type": "int", + "visible": true + }, + { + "disabled": false, + "format_axis": null, + "format_value": null, + "index": 0, + "label": "Russian Mobile", + "scale": 1, + "source_col": 7, + "source_id": "rc_page_requests_mobile", + "timespan": { + "end": null, + "start": null, + "step": null + }, + "transforms": [], + "type": "int", + "visible": true + }, + { + "disabled": false, + "format_axis": null, + "format_value": null, + "index": 0, + "label": "Italian Mobile", + "scale": 1, + "source_col": 8, + "source_id": "rc_page_requests_mobile", + "timespan": { + "end": null, + "start": null, + "step": null + }, + "transforms": [], + "type": "int", + "visible": true + } + ], + "palette": null + }, + "desc": "", + "height": 250, + "id": "pageviews_mobile", + "name": "Page Views to Mobile Site", + "options": { + "animatedZooms": true, + "avoidMinZero": false, + "axis": null, + "axisLabelColor": "#666666", + "axisLabelFontSize": 14, + "axisLabelFormatter": null, + "axisLabelWidth": 50, + "axisLineColor": "#AAAAAA", + "axisLineWidth": 0.3, + "axisTickSize": 3, + "colorSaturation": 1, + "colorValue": 0.5, + "colors": [ + "#FF0097", + "#EF8158", + "#83BB32", + "#182B53", + "#4596FF", + "#553DC9", + "#AD3238", + "#00FFBC", + "#F1D950" + ], + "connectSeparatedPoints": false, + "customBars": false, + "dateWindow": null, + "delimiter": ",", + "digitsAfterDecimal": 2, + "displayAnnotations": false, + "drawPoints": true, + "drawXAxis": true, + "drawXGrid": true, + "drawYAxis": true, + "drawYGrid": true, + "errorBars": false, + "file": null, + "fillAlpha": 0.15, + "fillGraph": false, + "fractions": false, + "gridLineColor": "#D8D8D8", + "gridLineWidth": 0.3, + "hideOverlayOnMouseOut": false, + "highlightCircleSize": 4, + "includeZero": false, + "interactionModel": null, + "isZoomedIgnoreProgrammaticZoom": false, + "labels": null, + "labelsDiv": null, + "labelsDivStyles": null, + "labelsDivWidth": 250, + "labelsKMB": true, + "labelsKMG2": false, + "labelsSeparateLines": true, + "labelsShowZeroValues": true, + "legend": "always", + "logscale": true, + "maxNumberWidth": 30, + "panEdgeFraction": null, + "pixelsPerLabel": null, + "pixelsPerXLabel": null, + "pixelsPerYLabel": null, + "pointSize": 1, + "rangeSelectorHeight": 40, + "rangeSelectorPlotFillColor": "#A7B1C4", + "rangeSelectorPlotStrokeColor": "#808FAB", + "rightGap": 20, + "rollPeriod": 1, + "showLabelsOnHighlight": true, + "showRangeSelector": false, + "showRoller": false, + "sigFigs": null, + "sigma": 2, + "stackedGraph": false, + "stepPlot": false, + "strokePattern": null, + "strokeWidth": 3, + "ticker": null, + "title": null, + "titleHeight": 18, + "valueFormatter": null, + "valueRange": null, + "visibility": null, + "wilsonInterval": true, + "xAxisHeight": null, + "xAxisLabelFormatter": null, + "xAxisLabelWidth": 55, + "xLabelHeight": 18, + "xValueFormatter": null, + "xValueParser": null, + "xlabel": null, + "y2label": null, + "yAxisLabelFormatter": null, + "yAxisLabelWidth": 50, + "yLabelWidth": 18, + "yValueFormatter": null, + "ylabel": null + }, + "parents": [ + "root" + ], + "slug": "pageviews_mobile", + "width": "auto" +} diff --git a/data/graphs/pageviews_mobile_target.json b/data/graphs/pageviews_mobile_target.json index 1aa6238..b83c42d 100644 --- a/data/graphs/pageviews_mobile_target.json +++ b/data/graphs/pageviews_mobile_target.json @@ -1 +1,155 @@ -{"options":{"animatedZooms":true,"avoidMinZero":false,"axis":null,"axisLabelColor":"#666666","axisLabelFontSize":14,"axisLabelFormatter":null,"axisLabelWidth":50,"axisLineColor":"#AAAAAA","axisLineWidth":0.3,"axisTickSize":3,"colorSaturation":1,"colorValue":0.5,"colors":["#FF0097","#EF8158","#83BB32","#182B53","#4596FF","#553DC9","#AD3238","#00FFBC","#F1D950"],"connectSeparatedPoints":false,"customBars":true,"dateWindow":null,"delimiter":",","digitsAfterDecimal":2,"displayAnnotations":false,"drawPoints":true,"drawXAxis":true,"drawXGrid":true,"drawYAxis":true,"drawYGrid":true,"errorBars":false,"file":null,"fillAlpha":0.15,"fillGraph":false,"fractions":false,"gridLineColor":"#D8D8D8","gridLineWidth":0.3,"hideOverlayOnMouseOut":false,"highlightCircleSize":4,"includeZero":false,"interactionModel":null,"isZoomedIgnoreProgrammaticZoom":false,"labels":null,"labelsDiv":null,"labelsDivStyles":null,"labelsDivWidth":250,"labelsKMB":true,"labelsKMG2":false,"labelsSeparateLines":true,"labelsShowZeroValues":true,"legend":"always","logscale":false,"maxNumberWidth":30,"panEdgeFraction":null,"pixelsPerLabel":null,"pixelsPerXLabel":null,"pixelsPerYLabel":null,"pointSize":1,"rangeSelectorHeight":40,"rangeSelectorPlotFillColor":"#A7B1C4","rangeSelectorPlotStrokeColor":"#808FAB","rightGap":20,"rollPeriod":1,"showLabelsOnHighlight":true,"showRangeSelector":false,"showRoller":false,"sigFigs":null,"sigma":2,"stackedGraph":false,"stepPlot":false,"strokePattern":null,"strokeWidth":3,"ticker":null,"title":null,"titleHeight":18,"valueFormatter":null,"valueRange":null,"visibility":null,"wilsonInterval":true,"xAxisHeight":null,"xAxisLabelFormatter":null,"xAxisLabelWidth":55,"xLabelHeight":18,"xValueFormatter":null,"xValueParser":null,"xlabel":null,"y2label":null,"yAxisLabelFormatter":null,"yAxisLabelWidth":50,"yLabelWidth":18,"yValueFormatter":null,"ylabel":null},"slug":"pageviews_mobile_target","name":"Page Views to Mobile Site - Target","desc":"","dataset":"/data/datasources/rc/rc_page_requests_mobile_target.csv","width":"auto","height":320,"chartType":"dygraphs","parents":["root"],"id":"pageviews_mobile_target"} \ No newline at end of file +{ + "chartType": "dygraphs", + "data": { + "id": "pageviews_mobile_target", + "lines": [], + "metrics": [ + { + "color": "rgb(116,173,209)", + "disabled": false, + "format_axis": null, + "format_value": null, + "index": 0, + "label": "Total", + "scale": 1, + "source_col": 1, + "source_id": "rc_page_requests_mobile_target", + "timespan": { + "end": null, + "start": null, + "step": null + }, + "transforms": [], + "type": "int", + "visible": true + }, + { + "color": "rgb(116,173,209)", + "disabled": false, + "format_axis": null, + "format_value": null, + "index": 0, + "label": "Target", + "scale": 1, + "source_col": 2, + "source_id": "rc_page_requests_mobile_target", + "timespan": { + "end": null, + "start": null, + "step": null + }, + "transforms": [], + "type": "int", + "visible": true + } + ], + "palette": null + }, + "desc": "", + "height": 250, + "id": "pageviews_mobile_target", + "name": "Page Views to Mobile Site - Target", + "options": { + "animatedZooms": true, + "avoidMinZero": false, + "axis": null, + "axisLabelColor": "#666666", + "axisLabelFontSize": 14, + "axisLabelFormatter": null, + "axisLabelWidth": 50, + "axisLineColor": "#AAAAAA", + "axisLineWidth": 0.3, + "axisTickSize": 3, + "colorSaturation": 1, + "colorValue": 0.5, + "colors": [ + "#FF0097", + "#EF8158", + "#83BB32", + "#182B53", + "#4596FF", + "#553DC9", + "#AD3238", + "#00FFBC", + "#F1D950" + ], + "connectSeparatedPoints": false, + "customBars": true, + "dateWindow": null, + "delimiter": ",", + "digitsAfterDecimal": 2, + "displayAnnotations": false, + "drawPoints": true, + "drawXAxis": true, + "drawXGrid": true, + "drawYAxis": true, + "drawYGrid": true, + "errorBars": false, + "file": null, + "fillAlpha": 0.15, + "fillGraph": false, + "fractions": false, + "gridLineColor": "#D8D8D8", + "gridLineWidth": 0.3, + "hideOverlayOnMouseOut": false, + "highlightCircleSize": 4, + "includeZero": false, + "interactionModel": null, + "isZoomedIgnoreProgrammaticZoom": false, + "labels": null, + "labelsDiv": null, + "labelsDivStyles": null, + "labelsDivWidth": 250, + "labelsKMB": true, + "labelsKMG2": false, + "labelsSeparateLines": true, + "labelsShowZeroValues": true, + "legend": "always", + "logscale": false, + "maxNumberWidth": 30, + "panEdgeFraction": null, + "pixelsPerLabel": null, + "pixelsPerXLabel": null, + "pixelsPerYLabel": null, + "pointSize": 1, + "rangeSelectorHeight": 40, + "rangeSelectorPlotFillColor": "#A7B1C4", + "rangeSelectorPlotStrokeColor": "#808FAB", + "rightGap": 20, + "rollPeriod": 1, + "showLabelsOnHighlight": true, + "showRangeSelector": false, + "showRoller": false, + "sigFigs": null, + "sigma": 2, + "stackedGraph": false, + "stepPlot": false, + "strokePattern": null, + "strokeWidth": 3, + "ticker": null, + "title": null, + "titleHeight": 18, + "valueFormatter": null, + "valueRange": null, + "visibility": null, + "wilsonInterval": true, + "xAxisHeight": null, + "xAxisLabelFormatter": null, + "xAxisLabelWidth": 55, + "xLabelHeight": 18, + "xValueFormatter": null, + "xValueParser": null, + "xlabel": null, + "y2label": null, + "yAxisLabelFormatter": null, + "yAxisLabelWidth": 50, + "yLabelWidth": 18, + "yValueFormatter": null, + "ylabel": null + }, + "parents": [ + "root" + ], + "slug": "pageviews_mobile_target", + "width": "auto" +} diff --git a/data/graphs/reach.json b/data/graphs/reach.json index f1ce210..c126fe7 100644 --- a/data/graphs/reach.json +++ b/data/graphs/reach.json @@ -1 +1,262 @@ -{"options":{"animatedZooms":true,"avoidMinZero":false,"axis":null,"axisLabelColor":"#666666","axisLabelFontSize":11,"axisLabelFormatter":null,"axisLabelWidth":50,"axisLineColor":"#AAAAAA","axisLineWidth":0.3,"axisTickSize":3,"colorSaturation":1,"colorValue":0.5,"colors":["#FF0097","#EF8158","#83BB32","#182B53","#4596FF","#553DC9","#AD3238","#00FFBC","#F1D950"],"connectSeparatedPoints":false,"customBars":false,"dateWindow":null,"delimiter":",","digitsAfterDecimal":2,"displayAnnotations":false,"drawPoints":true,"drawXAxis":true,"drawXGrid":true,"drawYAxis":true,"drawYGrid":true,"errorBars":false,"file":null,"fillAlpha":0.15,"fillGraph":false,"fractions":false,"gridLineColor":"#D8D8D8","gridLineWidth":0.3,"hideOverlayOnMouseOut":false,"highlightCircleSize":4,"includeZero":false,"interactionModel":null,"isZoomedIgnoreProgrammaticZoom":false,"labels":null,"labelsDiv":null,"labelsDivStyles":null,"labelsDivWidth":250,"labelsKMB":true,"labelsKMG2":false,"labelsSeparateLines":true,"labelsShowZeroValues":true,"legend":"always","logscale":false,"maxNumberWidth":30,"panEdgeFraction":null,"pixelsPerLabel":null,"pixelsPerXLabel":null,"pixelsPerYLabel":null,"pointSize":1,"rangeSelectorHeight":40,"rangeSelectorPlotFillColor":"#A7B1C4","rangeSelectorPlotStrokeColor":"#808FAB","rightGap":20,"rollPeriod":1,"showLabelsOnHighlight":true,"showRangeSelector":false,"showRoller":false,"sigFigs":null,"sigma":2,"stackedGraph":false,"stepPlot":false,"strokePattern":null,"strokeWidth":3,"ticker":null,"title":null,"titleHeight":18,"valueFormatter":null,"valueRange":null,"visibility":null,"wilsonInterval":true,"xAxisHeight":null,"xAxisLabelFormatter":null,"xAxisLabelWidth":55,"xLabelHeight":18,"xValueFormatter":null,"xValueParser":null,"xlabel":null,"y2label":null,"yAxisLabelFormatter":null,"yAxisLabelWidth":50,"yLabelWidth":18,"yValueFormatter":null,"ylabel":"Reach (%)"},"slug":"reach","name":"Wikimedia Projects Reach by Region (comScore)","desc":"","dataset":"/data/datasources/rc/rc_comscore_region_reach.csv","width":"auto","height":320,"chartType":"dygraphs","parents":["root"],"id":"reach","result":"ok"} \ No newline at end of file +{ + "chartType": "dygraphs", + "data": { + "id": "reach", + "lines": [], + "metrics": [ + { + "disabled": false, + "format_axis": null, + "format_value": null, + "index": 0, + "label": "World", + "scale": 1, + "source_col": 1, + "source_id": "rc_comscore_region_reach", + "timespan": { + "end": null, + "start": null, + "step": null + }, + "transforms": [], + "type": "int", + "visible": true + }, + { + "disabled": false, + "format_axis": null, + "format_value": null, + "index": 0, + "label": "China", + "scale": 1, + "source_col": 2, + "source_id": "rc_comscore_region_reach", + "timespan": { + "end": null, + "start": null, + "step": null + }, + "transforms": [], + "type": "int", + "visible": true + }, + { + "disabled": false, + "format_axis": null, + "format_value": null, + "index": 0, + "label": "Europe", + "scale": 1, + "source_col": 3, + "source_id": "rc_comscore_region_reach", + "timespan": { + "end": null, + "start": null, + "step": null + }, + "transforms": [], + "type": "int", + "visible": true + }, + { + "disabled": false, + "format_axis": null, + "format_value": null, + "index": 0, + "label": "India", + "scale": 1, + "source_col": 4, + "source_id": "rc_comscore_region_reach", + "timespan": { + "end": null, + "start": null, + "step": null + }, + "transforms": [], + "type": "int", + "visible": true + }, + { + "disabled": false, + "format_axis": null, + "format_value": null, + "index": 0, + "label": "Latin-America", + "scale": 1, + "source_col": 5, + "source_id": "rc_comscore_region_reach", + "timespan": { + "end": null, + "start": null, + "step": null + }, + "transforms": [], + "type": "int", + "visible": true + }, + { + "disabled": false, + "format_axis": null, + "format_value": null, + "index": 0, + "label": "Middle-East/Africa", + "scale": 1, + "source_col": 6, + "source_id": "rc_comscore_region_reach", + "timespan": { + "end": null, + "start": null, + "step": null + }, + "transforms": [], + "type": "int", + "visible": true + }, + { + "disabled": false, + "format_axis": null, + "format_value": null, + "index": 0, + "label": "North-America", + "scale": 1, + "source_col": 7, + "source_id": "rc_comscore_region_reach", + "timespan": { + "end": null, + "start": null, + "step": null + }, + "transforms": [], + "type": "int", + "visible": true + }, + { + "disabled": false, + "format_axis": null, + "format_value": null, + "index": 0, + "label": "Asia Pacific", + "scale": 1, + "source_col": 8, + "source_id": "rc_comscore_region_reach", + "timespan": { + "end": null, + "start": null, + "step": null + }, + "transforms": [], + "type": "int", + "visible": true + } + ], + "palette": null + }, + "desc": "", + "height": 250, + "id": "reach", + "name": "Wikimedia Projects Reach by Region (comScore)", + "options": { + "animatedZooms": true, + "avoidMinZero": false, + "axis": null, + "axisLabelColor": "#666666", + "axisLabelFontSize": 11, + "axisLabelFormatter": null, + "axisLabelWidth": 50, + "axisLineColor": "#AAAAAA", + "axisLineWidth": 0.3, + "axisTickSize": 3, + "colorSaturation": 1, + "colorValue": 0.5, + "colors": [ + "#FF0097", + "#EF8158", + "#83BB32", + "#182B53", + "#4596FF", + "#553DC9", + "#AD3238", + "#00FFBC", + "#F1D950" + ], + "connectSeparatedPoints": false, + "customBars": false, + "dateWindow": null, + "delimiter": ",", + "digitsAfterDecimal": 2, + "displayAnnotations": false, + "drawPoints": true, + "drawXAxis": true, + "drawXGrid": true, + "drawYAxis": true, + "drawYGrid": true, + "errorBars": false, + "file": null, + "fillAlpha": 0.15, + "fillGraph": false, + "fractions": false, + "gridLineColor": "#D8D8D8", + "gridLineWidth": 0.3, + "hideOverlayOnMouseOut": false, + "highlightCircleSize": 4, + "includeZero": false, + "interactionModel": null, + "isZoomedIgnoreProgrammaticZoom": false, + "labels": null, + "labelsDiv": null, + "labelsDivStyles": null, + "labelsDivWidth": 250, + "labelsKMB": true, + "labelsKMG2": false, + "labelsSeparateLines": true, + "labelsShowZeroValues": true, + "legend": "always", + "logscale": false, + "maxNumberWidth": 30, + "panEdgeFraction": null, + "pixelsPerLabel": null, + "pixelsPerXLabel": null, + "pixelsPerYLabel": null, + "pointSize": 1, + "rangeSelectorHeight": 40, + "rangeSelectorPlotFillColor": "#A7B1C4", + "rangeSelectorPlotStrokeColor": "#808FAB", + "rightGap": 20, + "rollPeriod": 1, + "showLabelsOnHighlight": true, + "showRangeSelector": false, + "showRoller": false, + "sigFigs": null, + "sigma": 2, + "stackedGraph": false, + "stepPlot": false, + "strokePattern": null, + "strokeWidth": 3, + "ticker": null, + "title": null, + "titleHeight": 18, + "valueFormatter": null, + "valueRange": null, + "visibility": null, + "wilsonInterval": true, + "xAxisHeight": null, + "xAxisLabelFormatter": null, + "xAxisLabelWidth": 55, + "xLabelHeight": 18, + "xValueFormatter": null, + "xValueParser": null, + "xlabel": null, + "y2label": null, + "yAxisLabelFormatter": null, + "yAxisLabelWidth": 50, + "yLabelWidth": 18, + "yValueFormatter": null, + "ylabel": "Reach (%)" + }, + "parents": [ + "root" + ], + "result": "ok", + "slug": "reach", + "width": "auto" +} diff --git a/data/graphs/test.json b/data/graphs/test.json deleted file mode 100644 index 560e988..0000000 --- a/data/graphs/test.json +++ /dev/null @@ -1,231 +0,0 @@ -{ - "options": { - "animatedZooms": true, - "avoidMinZero": false, - "axis": null, - "axisLabelColor": "#666666", - "axisLabelFontSize": 11, - "axisLabelFormatter": null, - "axisLabelWidth": 50, - "axisLineColor": "#AAAAAA", - "axisLineWidth": 0.3, - "axisTickSize": 3, - "colorSaturation": 1, - "colorValue": 0.5, - "colors": [ - "#FF0097", - "#EF8158", - "#83BB32", - "#182B53", - "#4596FF", - "#553DC9", - "#AD3238", - "#00FFBC", - "#F1D950" - ], - "connectSeparatedPoints": false, - "customBars": false, - "dateWindow": null, - "delimiter": ",", - "digitsAfterDecimal": 2, - "displayAnnotations": false, - "drawPoints": true, - "drawXAxis": true, - "drawXGrid": true, - "drawYAxis": true, - "drawYGrid": true, - "errorBars": false, - "file": null, - "fillAlpha": 0.15, - "fillGraph": false, - "fractions": false, - "gridLineColor": "#D8D8D8", - "gridLineWidth": 0.3, - "hideOverlayOnMouseOut": false, - "highlightCircleSize": 4, - "includeZero": false, - "interactionModel": null, - "isZoomedIgnoreProgrammaticZoom": false, - "labels": null, - "labelsDiv": null, - "labelsDivStyles": null, - "labelsDivWidth": 250, - "labelsKMB": true, - "labelsKMG2": false, - "labelsSeparateLines": true, - "labelsShowZeroValues": true, - "legend": "always", - "logscale": true, - "maxNumberWidth": 30, - "panEdgeFraction": null, - "pixelsPerLabel": null, - "pixelsPerXLabel": null, - "pixelsPerYLabel": null, - "pointSize": 1, - "rangeSelectorHeight": 40, - "rangeSelectorPlotFillColor": "#A7B1C4", - "rangeSelectorPlotStrokeColor": "#808FAB", - "rightGap": 20, - "rollPeriod": 1, - "showLabelsOnHighlight": true, - "showRangeSelector": false, - "showRoller": false, - "sigFigs": null, - "sigma": 2, - "stackedGraph": false, - "stepPlot": false, - "strokePattern": null, - "strokeWidth": 3, - "ticker": null, - "title": null, - "titleHeight": 18, - "valueFormatter": null, - "valueRange": null, - "visibility": null, - "wilsonInterval": true, - "xAxisHeight": null, - "xAxisLabelFormatter": null, - "xAxisLabelWidth": 55, - "xLabelHeight": 18, - "xValueFormatter": null, - "xValueParser": null, - "xlabel": null, - "y2label": null, - "yAxisLabelFormatter": null, - "yAxisLabelWidth": 50, - "yLabelWidth": 18, - "yValueFormatter": null, - "ylabel": "Number of Editors" - }, - - "slug": "test", - "id": "active_editors", - "name": "Active Wikimedia Editors for All Wikimedia Projects (5+ edits per month)", - "desc": "Aug 2010: Editors on Commons are no longer included in overall total, on the assumption that most also edit on one or more other projects. More precise detection of double counts between any projects and languages is in development (using Single User Login registration).", - "notes": "", - "height": 250, - "width": "auto", - "parents": ["root"], - - "data": { - "palette": null, - "lines": [], - "id": "active_editors", - "metrics": [ - { - "index": 0, - "source_id": "rc_active_editors_count", - "source_col": 1, - "label": "Total", - "color": "#E62F74", - "type": "int", - "timespan": { - "start": null, - "end": null, - "step": null - }, - "disabled": false, - "visible": true, - "format_value": null, - "format_axis": null, - "transforms": [], - "scale": 1 - }, - { - "index": 0, - "source_id": "rc_active_editors_count", - "source_col": 2, - "label": "English", - "color": "#E62F74", - "type": "int", - "timespan": { - "start": null, - "end": null, - "step": null - }, - "disabled": false, - "visible": true, - "format_value": null, - "format_axis": null, - "transforms": [], - "scale": 1 - }, - { - "index": 0, - "source_id": "rc_active_editors_count", - "source_col": 3, - "label": "Commons", - "color": "#E62F74", - "type": "int", - "timespan": { - "start": null, - "end": null, - "step": null - }, - "disabled": false, - "visible": true, - "format_value": null, - "format_axis": null, - "transforms": [], - "scale": 1 - }, - { - "index": 0, - "source_id": "rc_active_editors_count", - "source_col": 4, - "label": "French", - "color": "#E62F74", - "type": "int", - "timespan": { - "start": null, - "end": null, - "step": null - }, - "disabled": false, - "visible": true, - "format_value": null, - "format_axis": null, - "transforms": [], - "scale": 1 - }, - { - "index": 0, - "source_id": "rc_active_editors_count", - "source_col": 5, - "label": "German", - "color": "#E62F74", - "type": "int", - "timespan": { - "start": null, - "end": null, - "step": null - }, - "disabled": false, - "visible": true, - "format_value": null, - "format_axis": null, - "transforms": [], - "scale": 1 - }, - { - "index": 0, - "source_id": "rc_active_editors_count", - "source_col": 6, - "label": "Russian", - "color": "#E62F74", - "type": "int", - "timespan": { - "start": null, - "end": null, - "step": null - }, - "disabled": false, - "visible": true, - "format_value": null, - "format_axis": null, - "transforms": [], - "scale": 1 - }] - } - -} diff --git a/data/graphs/unique_visitors.json b/data/graphs/unique_visitors.json index 93eade9..44c5fae 100644 --- a/data/graphs/unique_visitors.json +++ b/data/graphs/unique_visitors.json @@ -1 +1,261 @@ -{"options":{"animatedZooms":true,"avoidMinZero":false,"axis":null,"axisLabelColor":"#666666","axisLabelFontSize":11,"axisLabelFormatter":null,"axisLabelWidth":50,"axisLineColor":"#AAAAAA","axisLineWidth":0.3,"axisTickSize":3,"colorSaturation":1,"colorValue":0.5,"colors":["#FF0097","#EF8158","#83BB32","#182B53","#4596FF","#553DC9","#AD3238","#00FFBC","#F1D950"],"connectSeparatedPoints":false,"customBars":false,"dateWindow":null,"delimiter":",","digitsAfterDecimal":2,"displayAnnotations":false,"drawPoints":true,"drawXAxis":true,"drawXGrid":true,"drawYAxis":true,"drawYGrid":true,"errorBars":false,"file":null,"fillAlpha":0.15,"fillGraph":false,"fractions":false,"gridLineColor":"#D8D8D8","gridLineWidth":0.3,"hideOverlayOnMouseOut":false,"highlightCircleSize":4,"includeZero":false,"interactionModel":null,"isZoomedIgnoreProgrammaticZoom":false,"labels":null,"labelsDiv":null,"labelsDivStyles":null,"labelsDivWidth":250,"labelsKMB":true,"labelsKMG2":false,"labelsSeparateLines":true,"labelsShowZeroValues":true,"legend":"always","logscale":true,"maxNumberWidth":30,"panEdgeFraction":null,"pixelsPerLabel":null,"pixelsPerXLabel":null,"pixelsPerYLabel":null,"pointSize":1,"rangeSelectorHeight":40,"rangeSelectorPlotFillColor":"#A7B1C4","rangeSelectorPlotStrokeColor":"#808FAB","rightGap":20,"rollPeriod":1,"showLabelsOnHighlight":true,"showRangeSelector":false,"showRoller":false,"sigFigs":null,"sigma":2,"stackedGraph":false,"stepPlot":false,"strokePattern":null,"strokeWidth":3,"ticker":null,"title":null,"titleHeight":18,"valueFormatter":null,"valueRange":null,"visibility":null,"wilsonInterval":true,"xAxisHeight":null,"xAxisLabelFormatter":null,"xAxisLabelWidth":55,"xLabelHeight":18,"xValueFormatter":null,"xValueParser":null,"xlabel":null,"y2label":null,"yAxisLabelFormatter":null,"yAxisLabelWidth":50,"yLabelWidth":18,"yValueFormatter":null,"ylabel":"Number of visitors"},"slug":"unique_visitors","name":"Unique Visitors per Region (comScore)","desc":"","dataset":"/data/datasources/rc/rc_comscore_region_uv.csv","width":"auto","height":320,"chartType":"dygraphs","parents":["root"],"id":"unique_visitors"} \ No newline at end of file +{ + "chartType": "dygraphs", + "data": { + "id": "unique_visitors", + "lines": [], + "metrics": [ + { + "disabled": false, + "format_axis": null, + "format_value": null, + "index": 0, + "label": "World", + "scale": 1, + "source_col": 1, + "source_id": "rc_comscore_region_uv", + "timespan": { + "end": null, + "start": null, + "step": null + }, + "transforms": [], + "type": "int", + "visible": true + }, + { + "disabled": false, + "format_axis": null, + "format_value": null, + "index": 0, + "label": "China", + "scale": 1, + "source_col": 2, + "source_id": "rc_comscore_region_uv", + "timespan": { + "end": null, + "start": null, + "step": null + }, + "transforms": [], + "type": "int", + "visible": true + }, + { + "disabled": false, + "format_axis": null, + "format_value": null, + "index": 0, + "label": "Europe", + "scale": 1, + "source_col": 3, + "source_id": "rc_comscore_region_uv", + "timespan": { + "end": null, + "start": null, + "step": null + }, + "transforms": [], + "type": "int", + "visible": true + }, + { + "disabled": false, + "format_axis": null, + "format_value": null, + "index": 0, + "label": "India", + "scale": 1, + "source_col": 4, + "source_id": "rc_comscore_region_uv", + "timespan": { + "end": null, + "start": null, + "step": null + }, + "transforms": [], + "type": "int", + "visible": true + }, + { + "disabled": false, + "format_axis": null, + "format_value": null, + "index": 0, + "label": "Latin-America", + "scale": 1, + "source_col": 5, + "source_id": "rc_comscore_region_uv", + "timespan": { + "end": null, + "start": null, + "step": null + }, + "transforms": [], + "type": "int", + "visible": true + }, + { + "disabled": false, + "format_axis": null, + "format_value": null, + "index": 0, + "label": "Middle-East/Africa", + "scale": 1, + "source_col": 6, + "source_id": "rc_comscore_region_uv", + "timespan": { + "end": null, + "start": null, + "step": null + }, + "transforms": [], + "type": "int", + "visible": true + }, + { + "disabled": false, + "format_axis": null, + "format_value": null, + "index": 0, + "label": "North-America", + "scale": 1, + "source_col": 7, + "source_id": "rc_comscore_region_uv", + "timespan": { + "end": null, + "start": null, + "step": null + }, + "transforms": [], + "type": "int", + "visible": true + }, + { + "disabled": false, + "format_axis": null, + "format_value": null, + "index": 0, + "label": "Asia Pacific", + "scale": 1, + "source_col": 8, + "source_id": "rc_comscore_region_uv", + "timespan": { + "end": null, + "start": null, + "step": null + }, + "transforms": [], + "type": "int", + "visible": true + } + ], + "palette": null + }, + "desc": "", + "height": 250, + "id": "unique_visitors", + "name": "Unique Visitors per Region (comScore)", + "options": { + "animatedZooms": true, + "avoidMinZero": false, + "axis": null, + "axisLabelColor": "#666666", + "axisLabelFontSize": 11, + "axisLabelFormatter": null, + "axisLabelWidth": 50, + "axisLineColor": "#AAAAAA", + "axisLineWidth": 0.3, + "axisTickSize": 3, + "colorSaturation": 1, + "colorValue": 0.5, + "colors": [ + "#FF0097", + "#EF8158", + "#83BB32", + "#182B53", + "#4596FF", + "#553DC9", + "#AD3238", + "#00FFBC", + "#F1D950" + ], + "connectSeparatedPoints": false, + "customBars": false, + "dateWindow": null, + "delimiter": ",", + "digitsAfterDecimal": 2, + "displayAnnotations": false, + "drawPoints": true, + "drawXAxis": true, + "drawXGrid": true, + "drawYAxis": true, + "drawYGrid": true, + "errorBars": false, + "file": null, + "fillAlpha": 0.15, + "fillGraph": false, + "fractions": false, + "gridLineColor": "#D8D8D8", + "gridLineWidth": 0.3, + "hideOverlayOnMouseOut": false, + "highlightCircleSize": 4, + "includeZero": false, + "interactionModel": null, + "isZoomedIgnoreProgrammaticZoom": false, + "labels": null, + "labelsDiv": null, + "labelsDivStyles": null, + "labelsDivWidth": 250, + "labelsKMB": true, + "labelsKMG2": false, + "labelsSeparateLines": true, + "labelsShowZeroValues": true, + "legend": "always", + "logscale": true, + "maxNumberWidth": 30, + "panEdgeFraction": null, + "pixelsPerLabel": null, + "pixelsPerXLabel": null, + "pixelsPerYLabel": null, + "pointSize": 1, + "rangeSelectorHeight": 40, + "rangeSelectorPlotFillColor": "#A7B1C4", + "rangeSelectorPlotStrokeColor": "#808FAB", + "rightGap": 20, + "rollPeriod": 1, + "showLabelsOnHighlight": true, + "showRangeSelector": false, + "showRoller": false, + "sigFigs": null, + "sigma": 2, + "stackedGraph": false, + "stepPlot": false, + "strokePattern": null, + "strokeWidth": 3, + "ticker": null, + "title": null, + "titleHeight": 18, + "valueFormatter": null, + "valueRange": null, + "visibility": null, + "wilsonInterval": true, + "xAxisHeight": null, + "xAxisLabelFormatter": null, + "xAxisLabelWidth": 55, + "xLabelHeight": 18, + "xValueFormatter": null, + "xValueParser": null, + "xlabel": null, + "y2label": null, + "yAxisLabelFormatter": null, + "yAxisLabelWidth": 50, + "yLabelWidth": 18, + "yValueFormatter": null, + "ylabel": "Number of visitors" + }, + "parents": [ + "root" + ], + "slug": "unique_visitors", + "width": "auto" +} diff --git a/data/graphs/very_active_editors.json b/data/graphs/very_active_editors.json index 98ce3ea..85ecc68 100644 --- a/data/graphs/very_active_editors.json +++ b/data/graphs/very_active_editors.json @@ -1 +1,307 @@ -{"options":{"animatedZooms":true,"avoidMinZero":false,"axis":null,"axisLabelColor":"#666666","axisLabelFontSize":11,"axisLabelFormatter":null,"axisLabelWidth":50,"axisLineColor":"#AAAAAA","axisLineWidth":0.3,"axisTickSize":3,"colorSaturation":1,"colorValue":0.5,"colors":["#FF0097","#EF8158","#83BB32","#182B53","#4596FF","#553DC9","#AD3238","#00FFBC","#F1D950"],"connectSeparatedPoints":false,"customBars":false,"dateWindow":null,"delimiter":",","digitsAfterDecimal":2,"displayAnnotations":false,"drawPoints":true,"drawXAxis":true,"drawXGrid":true,"drawYAxis":true,"drawYGrid":true,"errorBars":false,"file":null,"fillAlpha":0.15,"fillGraph":false,"fractions":false,"gridLineColor":"#D8D8D8","gridLineWidth":0.3,"hideOverlayOnMouseOut":false,"highlightCircleSize":4,"includeZero":false,"interactionModel":null,"isZoomedIgnoreProgrammaticZoom":false,"labels":null,"labelsDiv":null,"labelsDivStyles":null,"labelsDivWidth":250,"labelsKMB":true,"labelsKMG2":false,"labelsSeparateLines":true,"labelsShowZeroValues":true,"legend":"always","logscale":true,"maxNumberWidth":30,"panEdgeFraction":null,"pixelsPerLabel":null,"pixelsPerXLabel":null,"pixelsPerYLabel":null,"pointSize":1,"rangeSelectorHeight":40,"rangeSelectorPlotFillColor":"#A7B1C4","rangeSelectorPlotStrokeColor":"#808FAB","rightGap":20,"rollPeriod":1,"showLabelsOnHighlight":true,"showRangeSelector":false,"showRoller":false,"sigFigs":null,"sigma":2,"stackedGraph":false,"stepPlot":false,"strokePattern":null,"strokeWidth":3,"ticker":null,"title":null,"titleHeight":18,"valueFormatter":null,"valueRange":null,"visibility":null,"wilsonInterval":true,"xAxisHeight":null,"xAxisLabelFormatter":null,"xAxisLabelWidth":55,"xLabelHeight":18,"xValueFormatter":null,"xValueParser":null,"xlabel":null,"y2label":null,"yAxisLabelFormatter":null,"yAxisLabelWidth":50,"yLabelWidth":18,"yValueFormatter":null,"ylabel":"Number of Editors"},"slug":"very_active_editors","name":"Very Active Editors for All Wikimedia Projects (100+ edits per month)","desc":"Aug 2010: Editors on Commons are no longer included in overall total, on the assumption that most also edit on one or more other projects. More precise detection of double counts between any projects and languages is in development(using Single User Login registration).","dataset":"/data/datasources/rc/rc_very_active_editors_count.csv","width":"auto","height":320,"chartType":"dygraphs","parents":["root"],"id":"very_active_editors"} \ No newline at end of file +{ + "chartType": "dygraphs", + "data": { + "id": "very_active_editors", + "lines": [], + "metrics": [ + { + "color": "rgb(116,173,209)", + "disabled": false, + "format_axis": null, + "format_value": null, + "index": 0, + "label": "Total", + "scale": 1, + "source_col": 1, + "source_id": "rc_very_active_editors_count", + "timespan": { + "end": null, + "start": null, + "step": null + }, + "transforms": [], + "type": "int", + "visible": true + }, + { + "color": "rgb(49,54,149)", + "disabled": false, + "format_axis": null, + "format_value": null, + "index": 0, + "label": "English", + "scale": 1, + "source_col": 2, + "source_id": "rc_very_active_editors_count", + "timespan": { + "end": null, + "start": null, + "step": null + }, + "transforms": [], + "type": "int", + "visible": true + }, + { + "color": "rgb(69,117,180)", + "disabled": false, + "format_axis": null, + "format_value": null, + "index": 0, + "label": "Commons", + "scale": 1, + "source_col": 3, + "source_id": "rc_very_active_editors_count", + "timespan": { + "end": null, + "start": null, + "step": null + }, + "transforms": [], + "type": "int", + "visible": true + }, + { + "color": "rgb(254,224,144)", + "disabled": false, + "format_axis": null, + "format_value": null, + "index": 0, + "label": "French", + "scale": 1, + "source_col": 4, + "source_id": "rc_very_active_editors_count", + "timespan": { + "end": null, + "start": null, + "step": null + }, + "transforms": [], + "type": "int", + "visible": true + }, + { + "color": "rgb(224,243,248)", + "disabled": false, + "format_axis": null, + "format_value": null, + "index": 0, + "label": "Russian", + "scale": 1, + "source_col": 5, + "source_id": "rc_very_active_editors_count", + "timespan": { + "end": null, + "start": null, + "step": null + }, + "transforms": [], + "type": "int", + "visible": true + }, + { + "color": "rgb(244,109,67)", + "disabled": false, + "format_axis": null, + "format_value": null, + "index": 0, + "label": "German", + "scale": 1, + "source_col": 6, + "source_id": "rc_very_active_editors_count", + "timespan": { + "end": null, + "start": null, + "step": null + }, + "transforms": [], + "type": "int", + "visible": true + }, + { + "color": "rgb(165,0,38)", + "disabled": false, + "format_axis": null, + "format_value": null, + "index": 0, + "label": "Italian", + "scale": 1, + "source_col": 7, + "source_id": "rc_very_active_editors_count", + "timespan": { + "end": null, + "start": null, + "step": null + }, + "transforms": [], + "type": "int", + "visible": true + }, + { + "color": "rgb(255,255,191)", + "disabled": false, + "format_axis": null, + "format_value": null, + "index": 0, + "label": "Japanese", + "scale": 1, + "source_col": 8, + "source_id": "rc_very_active_editors_count", + "timespan": { + "end": null, + "start": null, + "step": null + }, + "transforms": [], + "type": "int", + "visible": true + }, + { + "color": "rgb(171,217,233)", + "disabled": false, + "format_axis": null, + "format_value": null, + "index": 0, + "label": "Spanish", + "scale": 1, + "source_col": 9, + "source_id": "rc_very_active_editors_count", + "timespan": { + "end": null, + "start": null, + "step": null + }, + "transforms": [], + "type": "int", + "visible": true + }, + { + "color": "rgb(215,48,39)", + "disabled": false, + "format_axis": null, + "format_value": null, + "index": 0, + "label": "Chinese", + "scale": 1, + "source_col": 10, + "source_id": "rc_very_active_editors_count", + "timespan": { + "end": null, + "start": null, + "step": null + }, + "transforms": [], + "type": "int", + "visible": true + } + ], + "palette": null + }, + "desc": "Aug 2010: Editors on Commons are no longer included in overall total, on the assumption that most also edit on one or more other projects. More precise detection of double counts between any projects and languages is in development(using Single User Login registration).", + "height": 250, + "id": "very_active_editors", + "name": "Very Active Editors for All Wikimedia Projects (100+ edits per month)", + "options": { + "animatedZooms": true, + "avoidMinZero": false, + "axis": null, + "axisLabelColor": "#666666", + "axisLabelFontSize": 11, + "axisLabelFormatter": null, + "axisLabelWidth": 50, + "axisLineColor": "#AAAAAA", + "axisLineWidth": 0.3, + "axisTickSize": 3, + "colorSaturation": 1, + "colorValue": 0.5, + "colors": [ + "#FF0097", + "#EF8158", + "#83BB32", + "#182B53", + "#4596FF", + "#553DC9", + "#AD3238", + "#00FFBC", + "#F1D950" + ], + "connectSeparatedPoints": false, + "customBars": false, + "dateWindow": null, + "delimiter": ",", + "digitsAfterDecimal": 2, + "displayAnnotations": false, + "drawPoints": true, + "drawXAxis": true, + "drawXGrid": true, + "drawYAxis": true, + "drawYGrid": true, + "errorBars": false, + "file": null, + "fillAlpha": 0.15, + "fillGraph": false, + "fractions": false, + "gridLineColor": "#D8D8D8", + "gridLineWidth": 0.3, + "hideOverlayOnMouseOut": false, + "highlightCircleSize": 4, + "includeZero": false, + "interactionModel": null, + "isZoomedIgnoreProgrammaticZoom": false, + "labels": null, + "labelsDiv": null, + "labelsDivStyles": null, + "labelsDivWidth": 250, + "labelsKMB": true, + "labelsKMG2": false, + "labelsSeparateLines": true, + "labelsShowZeroValues": true, + "legend": "always", + "logscale": true, + "maxNumberWidth": 30, + "panEdgeFraction": null, + "pixelsPerLabel": null, + "pixelsPerXLabel": null, + "pixelsPerYLabel": null, + "pointSize": 1, + "rangeSelectorHeight": 40, + "rangeSelectorPlotFillColor": "#A7B1C4", + "rangeSelectorPlotStrokeColor": "#808FAB", + "rightGap": 20, + "rollPeriod": 1, + "showLabelsOnHighlight": true, + "showRangeSelector": false, + "showRoller": false, + "sigFigs": null, + "sigma": 2, + "stackedGraph": false, + "stepPlot": false, + "strokePattern": null, + "strokeWidth": 3, + "ticker": null, + "title": null, + "titleHeight": 18, + "valueFormatter": null, + "valueRange": null, + "visibility": null, + "wilsonInterval": true, + "xAxisHeight": null, + "xAxisLabelFormatter": null, + "xAxisLabelWidth": 55, + "xLabelHeight": 18, + "xValueFormatter": null, + "xValueParser": null, + "xlabel": null, + "y2label": null, + "yAxisLabelFormatter": null, + "yAxisLabelWidth": 50, + "yLabelWidth": 18, + "yValueFormatter": null, + "ylabel": "Number of Editors" + }, + "parents": [ + "root" + ], + "slug": "very_active_editors", + "width": "auto" +} diff --git a/msc/old_rc_new/input/wikilytics_in_pageviews.csv b/msc/old_rc_new/input/wikilytics_in_pageviews.csv index c353186..7e47c00 100644 --- a/msc/old_rc_new/input/wikilytics_in_pageviews.csv +++ b/msc/old_rc_new/input/wikilytics_in_pageviews.csv @@ -60,32 +60,17 @@ === Page view totals mobile === -,,,,,,,,,,,,,,,,,,,,,,,project,,,,,,,,,,,,,,,,,,,,,,,,06/2010,07/2010,08/2010,09/2010,10/2010,11/2010,12/2010,01/2011,02/2011,03/2011,04/2011,05/2011,06/2011,07/2011,08/2011,09/2011,10/2011,11/2011,12/2011,01/2012,02/2012,03/2012 -,,,,,,,,,,,,,,,,,,,,,,,English Mobile,,,,,,,,,,,,,,,,,,,,,,,,147977836,278327012,292649435,308748612,314486485,349765196,395806618,473666865,474485604,412602980,485265239,498279380,527599350,571859457,590078181,556519235,687274491,806976298,944881712,1019997286,992947277,1047002920,English Mobile -,,,,,,,,,,,,,,,,,,,,,,,Japanese Mobile,,,,,,,,,,,,,,,,,,,,,,,,17809786,28394287,33072856,33404730,31851931,39647998,46486873,66024071,71955380,71516492,85519986,95856745,96806760,108449709,112019176,114917611,143102045,172878247,189591286,225008795,224398907,245139577,Japanese Mobile -,,,,,,,,,,,,,,,,,,,,,,,German Mobile,,,,,,,,,,,,,,,,,,,,,,,,9369170,13668968,15319698,17164171,17408353,20769311,23444459,31057975,29621900,28302165,30645173,32195180,35067206,34129202,36010958,35136885,48769995,62186820,74903496,85592570,81796107,92092638,German Mobile -,,,,,,,,,,,,,,,,,,,,,,,Spanish Mobile,,,,,,,,,,,,,,,,,,,,,,,,4122690,8950452,10564184,11807268,11501680,12813399,13279423,18224248,20710352,20540505,24255944,27317424,27744011,29321690,40792718,42295306,51284025,60289133,61279596,73497001,79554420,90028886,Spanish Mobile -,,,,,,,,,,,,,,,,,,,,,,,French Mobile,,,,,,,,,,,,,,,,,,,,,,,,8195299,12875048,15812894,16291336,16066117,19150519,21042051,26031268,26531476,24355948,26588526,27715065,28634979,28213198,32550585,27847084,36238792,45299992,53304120,58556530,59454754,70076099,French Mobile -,,,,,,,,,,,,,,,,,,,,,,,Russian Mobile,,,,,,,,,,,,,,,,,,,,,,,,7097283,8148804,8615441,10535929,12408818,14981251,17847127,19734794,19955837,19228891,21478879,21891242,22097952,19454859,23320682,26131473,37921767,44936278,52460396,52199562,54868457,64442825,Russian Mobile -,,,,,,,,,,,,,,,,,,,,,,,Italian Mobile,,,,,,,,,,,,,,,,,,,,,,,,3601673,4880655,6215748,6215555,5892838,7228372,8102866,11105273,12048628,10731203,11291385,12324058,13099252,13441276,17595039,16013630,19378412,25354308,33028388,36746917,37217358,43142093,Italian Mobile -,,,,,,,,,,,,,,,,,,,,,,,Portuguese Mobile,,,,,,,,,,,,,,,,,,,,,,,,887967,1205691,1409290,1801693,1913891,2423398,2442815,2994069,3386252,3301939,3924143,4535597,4951522,5037866,8340164,9699445,11718208,13746171,13276874,13811145,14703260,20866424,Portuguese Mobile -,,,,,,,,,,,,,,,,,,,,,,,Chinese Mobile,,,,,,,,,,,,,,,,,,,,,,,,1218327,1085997,1158908,1205950,1754842,2614463,3168535,3377325,3579692,3762380,3752439,3874448,4185473,4041403,5277212,5013199,6434834,7863283,9408373,10240920,13279923,19715481,Chinese Mobile -,,,,,,,,,,,,,,,,,,,,,,,Dutch Mobile,,,,,,,,,,,,,,,,,,,,,,,,2162135,2432925,2888596,3096313,3326859,3704952,4487399,5259914,5775433,5017814,5444084,6017644,6488879,6490933,7115632,6298472,8097568,9982246,12338744,13737791,12339918,16936219,Dutch Mobile -,,,,,,,,,,,,,,,,,,,,,,,Polish Mobile,,,,,,,,,,,,,,,,,,,,,,,,804079,1164542,1240679,1478658,1646108,2044809,2164922,2761159,2904666,2944417,3028605,3235344,3155652,3126447,3737773,4053589,5626443,7598613,9313021,9923170,9613112,14475174,Polish Mobile -,,,,,,,,,,,,,,,,,,,,,,,Swedish Mobile,,,,,,,,,,,,,,,,,,,,,,,,936293,2287219,2432856,2579722,2760331,3054648,3737790,4659670,4849584,4549846,4905740,5005645,5300880,6258236,5694614,5258634,7029178,8848962,11103400,12289004,11876569,14111009,Swedish Mobile -,,,,,,,,,,,,,,,,,,,,,,,Indonesian Mobile,,,,,,,,,,,,,,,,,,,,,,,,933425,2898427,3157739,3420974,3889925,4642249,4582411,4946976,4927842,4826589,4777936,5061200,5395712,5391918,6491523,7124410,8986948,10497671,11277900,11494855,11436003,13729504,Indonesian Mobile -,,,,,,,,,,,,,,,,,,,,,,,Korean Mobile,,,,,,,,,,,,,,,,,,,,,,,,800429,1269458,1481104,2028462,2045356,2634610,2273500,2607178,3280414,3223247,4109767,4914392,5511102,6078646,6087580,5225303,6794083,7888271,9392535,10285313,9791302,11678290,Korean Mobile -,,,,,,,,,,,,,,,,,,,,,,,Arabic Mobile,,,,,,,,,,,,,,,,,,,,,,,,158489,476279,651272,741504,714317,888732,1067074,1060815,1416230,1371525,1688215,1750248,1969487,2107763,3590852,3516303,4940542,5884473,6858022,6693726,7269274,9307602,Arabic Mobile -,,,,,,,,,,,,,,,,,,,,,,,Turkish Mobile,,,,,,,,,,,,,,,,,,,,,,,,302027,407817,470190,511748,544970,777059,880929,1363892,736915,169070,1048606,1250837,1317384,1413461,2444946,2194249,2933765,4222655,4949512,5231010,5617156,7970604,Turkish Mobile -,,,,,,,,,,,,,,,,,,,,,,,Hebrew Mobile,,,,,,,,,,,,,,,,,,,,,,,,141179,461718,485556,537581,591551,699442,731056,854812,940821,1015029,1454714,1807458,1859562,1927622,2097514,2187092,3000488,3491567,4061656,4413840,4584054,6320858,Hebrew Mobile -,,,,,,,,,,,,,,,,,,,,,,,Vietnamese Mobile,,,,,,,,,,,,,,,,,,,,,,,,265192,741628,904640,1015719,1158829,1300346,1285122,1272249,1544879,1433828,1677735,1683642,1844483,1737997,2559883,2823878,3532421,3844960,4290201,3591142,4638486,5911863,Vietnamese Mobile -,,,,,,,,,,,,,,,,,,,,,,,Finnish Mobile,,,,,,,,,,,,,,,,,,,,,,,,160724,390006,400386,451247,492520,532808,631575,752369,810081,780338,823728,846059,904600,1068525,1435406,1495606,1893086,2408455,2914395,3084884,3053578,4798218,Finnish Mobile -,,,,,,,,,,,,,,,,,,,,,,,Ukrainian Mobile,,,,,,,,,,,,,,,,,,,,,,,,18237,27789,18965,20554,11732,5588,2035,2532,3208,95389,816340,1113678,933039,413701,418318,1272815,2255935,3019524,4106149,2127859,2693886,4573301,Ukrainian Mobile -,,,,,,,,,,,,,,,,,,,,,,,Danish Mobile,,,,,,,,,,,,,,,,,,,,,,,,173525,476250,541417,702776,689705,725427,892927,1085136,1147546,1044984,1085107,1111114,1168032,1195712,1240886,1220146,1588429,1888665,2688865,2679588,2474753,3644627,Danish Mobile -,,,,,,,,,,,,,,,,,,,,,,,Norwegian Mobile,,,,,,,,,,,,,,,,,,,,,,,,102304,97483,78674,75273,59574,42282,34185,41409,38809,143219,1098959,1164728,1197229,1368621,1302085,1273571,1442864,1848872,2300134,2285652,2220759,3521544,Norwegian Mobile -,,,,,,,,,,,,,,,,,,,,,,,Thai Mobile,,,,,,,,,,,,,,,,,,,,,,,,153184,248640,260624,288652,277045,339364,359953,425124,512939,478628,548052,598356,711919,821839,1190725,1259761,1421200,1876946,2036951,2294982,2487243,3451566,Thai Mobile -,,,,,,,,,,,,,,,,,,,,,,,Czech Mobile,,,,,,,,,,,,,,,,,,,,,,,,67191,184375,211686,256092,263726,300884,327041,455118,470351,446432,478275,540245,544174,495152,677511,859328,1192761,1477471,1727265,2212995,1922472,3219230,Czech Mobile -,,,,,,,,,,,,,,,,,,,,,,,Hungarian Mobile,,,,,,,,,,,,,,,,,,,,,,,,83483,136444,156069,188062,188771,214704,237752,331463,355024,348519,383108,423663,457118,445706,532068,619572,797894,1081425,1371734,1651252,1554158,2692758,Hungarian Mobile +,,,,,,,,,,,,,,,,,,,,,,,project,,,,,,,,,,,,,,,,,,,,,,,,06/2010,07/2010,08/2010,09/2010,10/2010,11/2010,12/2010,01/2011,02/2011,03/2011,04/2011,05/2011,06/2011,07/2011,08/2011,09/2011,10/2011,11/2011,12/2011,01/2012,02/2012,03/2012,04/2012,05/2012 +,,,,,,,,,,,,,,,,,,,,,,,English Mobile,,,,,,,,,,,,,,,,,,,,,,,,147977836,278327012,292649435,308748612,314486485,349765196,395806618,473666865,474485604,412602980,485265239,498279380,527599350,571859457,590078181,556519235,687274491,806976298,944881712,1019997286,992947277,1047002920,1118962375,1086800537,English Mobile +,,,,,,,,,,,,,,,,,,,,,,,Japanese Mobile,,,,,,,,,,,,,,,,,,,,,,,,17809786,28394287,33072856,33404730,31851931,39647998,46486873,66024071,71955380,71516492,85519986,95856745,96806760,108449709,112019176,114917611,143102045,172878247,189591286,225008795,224398907,245139577,259903963,281568702,Japanese Mobile +,,,,,,,,,,,,,,,,,,,,,,,German Mobile,,,,,,,,,,,,,,,,,,,,,,,,9369170,13668968,15319698,17164171,17408353,20769311,23444459,31057975,29621900,28302165,30645173,32195180,35067206,34129202,36010958,35136885,48769995,62186820,74903496,85592570,81796107,92092638,105570639,96406761,German Mobile +,,,,,,,,,,,,,,,,,,,,,,,Spanish Mobile,,,,,,,,,,,,,,,,,,,,,,,,4122690,8950452,10564184,11807268,11501680,12813399,13279423,18224248,20710352,20540505,24255944,27317424,27744011,29321690,40792718,42295306,51284025,60289133,61279596,73497001,79554420,90028886,99968261,97427724,Spanish Mobile +,,,,,,,,,,,,,,,,,,,,,,,French Mobile,,,,,,,,,,,,,,,,,,,,,,,,8195299,12875048,15812894,16291336,16066117,19150519,21042051,26031268,26531476,24355948,26588526,27715065,28634979,28213198,32550585,27847084,36238792,45299992,53304120,58556530,59454754,70076099,89275527,78633925,French Mobile +,,,,,,,,,,,,,,,,,,,,,,,Russian Mobile,,,,,,,,,,,,,,,,,,,,,,,,7097283,8148804,8615441,10535929,12408818,14981251,17847127,19734794,19955837,19228891,21478879,21891242,22097952,19454859,23320682,26131473,37921767,44936278,52460396,52199562,54868457,64442825,75724578,65515456,Russian Mobile +,,,,,,,,,,,,,,,,,,,,,,,Italian Mobile,,,,,,,,,,,,,,,,,,,,,,,,3601673,4880655,6215748,6215555,5892838,7228372,8102866,11105273,12048628,10731203,11291385,12324058,13099252,13441276,17595039,16013630,19378412,25354308,33028388,36746917,37217358,43142093,51571512,49022472,Italian Mobile +,,,,,,,,,,,,,,,,,,,,,,,Portuguese Mobile,,,,,,,,,,,,,,,,,,,,,,,,887967,1205691,1409290,1801693,1913891,2423398,2442815,2994069,3386252,3301939,3924143,4535597,4951522,5037866,8340164,9699445,11718208,13746171,13276874,13811145,14703260,20866424,27434544,22654479,Portuguese Mobile +,,,,,,,,,,,,,,,,,,,,,,,Chinese Mobile,,,,,,,,,,,,,,,,,,,,,,,,1218327,1085997,1158908,1205950,1754842,2614463,3168535,3377325,3579692,3762380,3752439,3874448,4185473,4041403,5277212,5013199,6434834,7863283,9408373,10240920,13279923,19715481,26940045,21295869,Chinese Mobile + === Page view totals per project - non-mobile + mobile === @@ -116,7 +101,7 @@ === Page view totals per project - mobile === ,,,,,,,,project,07/2008,08/2008,09/2008,10/2008,11/2008,12/2008,01/2009,02/2009,03/2009,04/2009,05/2009,06/2009,07/2009,08/2009,09/2009,10/2009,11/2009,12/2009,01/2010,02/2010,03/2010,04/2010,05/2010,06/2010,07/2010,08/2010,09/2010,10/2010,11/2010,12/2010,01/2011,02/2011,03/2011,04/2011,05/2011,06/2011,07/2011,08/2011,09/2011,10/2011,11/2011,12/2011,01/2012,02/2012,03/2012 -,,,,,,,,All projects,,,,,,,,,,,,,,,,,,,,,,,,208280310,372132091,400944073,425385736,432613085,491794260,555653967,680527579,692464914,622902258,728233197,762990098,801552556,857407355,916946743,887103215,1111140204,1325724262,1533885014,1681435126,1663482355,1858551326,All projects +,,,,,,,,All projects,,,,,,,,,,,,,,,,,,,,,,,,208280310,372132091,400944073,425385736,432613085,491794260,555653967,680527579,692464914,622902258,728233197,762990098,801552556,857407355,916946743,887103215,1111140204,1325724262,1533885014,1681435126,1663482355,1858551326,2089385579,1972654819,All projects ,,,,,,,,Wikipedia,,,,,,,,,,,,,,,,,,,,,,,,208280310,372132091,400944073,425385736,432613085,491794260,555653967,680527579,692464914,622902258,728233197,762990098,801552556,857407355,916946743,887103215,1111140204,1325724262,1533885014,1681435126,1663482355,1858551326,Wikipedia ,,,,,,,,Wiktionary,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,Wiktionary ,,,,,,,,Commons,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,Commons diff --git a/msc/old_rc_new/old_charts.py b/msc/old_rc_new/old_charts.py index 1c461aa..c284813 100644 --- a/msc/old_rc_new/old_charts.py +++ b/msc/old_rc_new/old_charts.py @@ -7,7 +7,7 @@ from collections import OrderedDict import parse_csv as p -# +# # From monthly stat file # @@ -23,7 +23,6 @@ def binary_files(): p.write_dygraph_file(data,dygraph_fn) - def article_count(): dygraph_fn='rc_article_count' diff --git a/msc/old_rc_new/old_to_new.py b/msc/old_rc_new/old_to_new.py index 9da83d5..80a477c 100644 --- a/msc/old_rc_new/old_to_new.py +++ b/msc/old_rc_new/old_to_new.py @@ -18,20 +18,123 @@ import new_charts import comscore import targets + +# HACK dict for consistent colormapping +from collections import defaultdict +seen_labels = {} +count_labels = defaultdict(int) +color_index = 0 +colors = ["rgb(165,0,38)","rgb(215,48,39)","rgb(244,109,67)","rgb(253,174,97)","rgb(254,224,144)","rgb(255,255,191)","rgb(224,243,248)","rgb(171,217,233)","rgb(116,173,209)","rgb(69,117,180)","rgb(49,54,149)"] # colorbrewer spectral + +# wan can limit the number of fixed colors to labels that appear more than once +multi_lables = ['Latin-America', 'All projects', 'Europe', 'Middle-East/Africa', 'French', 'China', 'Russian', 'World', 'Target', 'Commons', 'English', 'Italian', 'Chinese', 'German', 'North-America', 'India', 'Japanese', 'Asia Pacific', 'Spanish', 'Total'] +for i,l in enumerate(multi_lables): + seen_labels[l] = colors[i%len(colors)] + +def get_color(l): + global color_index,seen_labels + if l not in seen_labels: + return None + seen_labels[l] = colors[color_index%len(colors)] + color_index+=1 + + count_labels[l] += 1 + return seen_labels[l] + + +def dataset_ui_json(ds_id,n=None,color=True): + '''HACK warning. Temp function to generate dataset-ui friendly graph description json file. If you read this you can likely (and hopefully) delete this function :) + ''' + import json + + headers = [s.strip() for s in open('./output/%s.csv'%ds_id,'r').readline()[:-1].split(',')] + + print "------------------------------------" + print ds_id + print + + for i,h in enumerate(headers): + if i==0: + # don't want the date + continue + if n and i > n: + # return only n elements + return + + metric = { + "index": 0, + "source_id": ds_id, + "source_col": i, + "label": h, + "color": get_color(h), + "type": "int", + "timespan": { + "start": None, + "end": None, + "step": None + }, + "disabled": False, + "visible": True, + "format_value": None, + "format_axis": None, + "transforms": [], + "scale": 1} + + if not color or metric['color'] is None: + del metric['color'] + + + print json.dumps(metric) + print ',' + + + def create_all(): - # recreate ErikZ charts - old_charts.create_all() - comscore.create_all() + # recreate ErikZ charts + old_charts.create_all() + comscore.create_all() + + # new charts + new_charts.create_all() + + # target charts + # TODO: start/end date for projection are hard-coded in target.py + # Note that it used previously deployed data to /data/datasources/rc to create datafiles. + targets.create_all() + + + #HACK! #HACK! #HACK! + dataset_ui_json('rc_binary_files') + dataset_ui_json('rc_article_count',n=8) + dataset_ui_json('rc_new_article_count',n=5) + dataset_ui_json('rc_edits_count',n=5) + dataset_ui_json('rc_new_editors_count',n=10) + dataset_ui_json('rc_active_editors_count',n=10) + dataset_ui_json('rc_very_active_editors_count',n=10) + dataset_ui_json('rc_page_requests',n=7) + + dataset_ui_json('rc_page_requests_mobile') + - # new charts - new_charts.create_all() + dataset_ui_json('rc_comscore_region_uv',color=False) + dataset_ui_json('rc_comscore_region_reach',color=False) + dataset_ui_json('rc_comscore_properties',color=False) + + dataset_ui_json('rc_active_editors_target') + dataset_ui_json('rc_page_requests_mobile_target') + + + print seen_labels + print count_labels + print + print [k for k,v in count_labels.iteritems() if v>1 ] - # target charts - # TODO: start/end date for projection are hard-coded in target.py - # Note that it used previously deployed data to /data/datasources/rc to create datafiles. - targets.create_all() if __name__ == '__main__': - create_all() + create_all() + + + + -- 1.7.0.4