User:MPopov (WMF)/Wikimania 2021 Hackathon

This page is for Graph-powered data visualizations of Wikidata Query Service (WDQS) usage (from 2015 to April 2021) as a replacement for soon-to-be decommissioned Discovery Dashboards – specifically the WDQS dashboard (see T227782 for more details). This project was completed by Mikhail Popov (aka bearloga) for Wikimania 2021 Hackathon.

Data
The original TSV was processed using R and uploaded as tabular datasets to Data namespace on Wikimedia Commons:
 * Data:Sandbox/MPopov_(WMF)/WDQS_homepage_traffic.tab
 * Data:Sandbox/MPopov_(WMF)/WDQS_SPARQL_endpoint.tab
 * Data:Sandbox/MPopov_(WMF)/WDQS_LDF_endpoint.tab

The code used to process and re-format the data can be found here.

Homepage traffic
Visits made to query.wikidata.org

 { "version": 2, "width": 800, "height": 400, "data": [{ "name": "visits", "url": "tabular:///Sandbox/MPopov_(WMF)/WDQS_homepage_traffic.tab", "format": { "type": "json", "property": "data", "parse": { "date": "date:'%Y-%m-%d'" }   },    "transform": [{ "type": "filter", "test": "datum.http_success === true" }] }],  "scales": [ {     "name": "x", "type": "time", "domain": { "data": "visits", "field": "date" },     "range": "width" },   {      "name": "y", "type": "log", "domain": { "data": "visits", "field": "requests" },     "range": "height" } ],  "axes": [ {     "type": "y", "scale": "y", "title": "Requests", "grid": true, "layer": "back" },   {      "type": "x", "scale": "x", "grid": false, "layer": "back", "formatType": "time", "format": "%Y" } ],  "marks": [ {     "type": "line", "from": { "data": "visits" }, "properties": { "update": { "x": {"scale": "x", "field": "date"}, "y": {"scale": "y", "field": "requests"}, "stroke": {"color": {"r":51, "g":102, "b":204}}, "strokeWidth": {"value": 1} }     }    }  ] }

SPARQL endpoint
Requests made to the SPARQL endpoint

LDF endpoint
Requests made to the Linked Data Fragments (LDF) endpoint