User:Primaler/Graphs

Links
mediawiki:
 * extension
 * demos
 * guide

enwiki:
 * help

all pages using graph:
 * [ enwiki]
 * [ ruwiki]

vega:
 * main
 * docs
 * editor
 * new tools

tools:
 * json validator

discussion:
 * vega's google group
 * enwiki Signpost 2015-05-13
 * ruwiki Новости 2015-05-06

Most expensive paintings
List of most expensive paintings: Scatter plot

{ "version": 2, "width": 800, "height": 400,

"data": [   {      "name": "table", "format": {"type": "json", "parse": {"sold": "date"}}, "values": [       {"sold": "March 30, 1987", "value": 84.2, "made": 1888, "period": "p2", "by": "Van Gogh"}, {"sold": "November 11, 1987", "value": 111.2, "made": 1889, "period": "p2", "by": "Van Gogh"}, {"sold": "November 28, 1988", "value": 76.3, "made": 1905, "period": "p3", "by": "Picasso"}, {"sold": "May 9, 1989", "value": 92.0, "made": 1901, "period": "p3", "by": "Picasso"}, {"sold": "May 31, 1989", "value": 67.7, "made": 1537, "period": "p1", "by": "other"}, {"sold": "August 1, 1989", "value": 113, "made": 1889, "period": "p2", "by": "Van Gogh"}, {"sold": "November 27, 1989", "value": 76.9, "made": 1904, "period": "p3", "by": "Picasso"}, {"sold": "November 30, 1989", "value": 93.2, "made": 1905, "period": "p3", "by": "Picasso"}, {"sold": "May 15, 1990", "value": 152.0, "made": 1890, "period": "p2", "by": "Van Gogh"}, {"sold": "May 17, 1990", "value": 143.9, "made": 1876, "period": "p2", "by": "other"}, {"sold": "May 1993", "value": 94.1, "made": 1889, "period": "p2", "by": "Van Gogh"}, {"sold": "1997", "value": 70.4, "made": 1890, "period": "p2", "by": "Van Gogh"}, {"sold": "November 19, 1998", "value": 103.8, "made": 1889, "period": "p2", "by": "Van Gogh"}, {"sold": "May 10, 1999", "value": 86.6, "made": 1894, "period": "p2", "by": "other"}, {"sold": "November 10, 1999", "value": 70.0, "made": 1938, "period": "p3", "by": "Picasso"}, {"sold": "November 8, 2000", "value": 75.2, "made": 1902, "period": "p3", "by": "Picasso"}, {"sold": "July 10, 2002", "value": 101.4, "made": 1611, "period": "p1", "by": "other"}, {"sold": "November 2003", "value": 90.3, "made": 1533, "period": "p1", "by": "other"}, {"sold": "May 4, 2004", "value": 131.1, "made": 1905, "period": "p3", "by": "Picasso"}, {"sold": "May 3, 2006", "value": 111.9, "made": 1941, "period": "p3", "by": "Picasso"}, {"sold": "June 18, 2006", "value": 158.4, "made": 1907, "period": "p3", "by": "other"}, {"sold": "October 12, 2006", "value": 94.4, "made": 1955, "period": "p4", "by": "other"}, {"sold": "October 12, 2006", "value": 74.9, "made": 1959, "period": "p4", "by": "other"}, {"sold": "November 2, 2006", "value": 165.4, "made": 1912, "period": "p3", "by": "other"}, {"sold": "November 2, 2006", "value": 103.9, "made": 1948, "period": "p4", "by": "other"}, {"sold": "November 18, 2006", "value": 162.4, "made": 1953, "period": "p4", "by": "other"}, {"sold": "April 12, 2007", "value": 78.3, "made": 1875, "period": "p2", "by": "other"}, {"sold": "May 15, 2007", "value": 83.4, "made": 1950, "period": "p4", "by": "other"}, {"sold": "May 16, 2007", "value": 82.1, "made": 1963, "period": "p4", "by": "Warhol"}, {"sold": "May 20, 2007", "value": 91.6, "made": 1964, "period": "p4", "by": "Warhol"}, {"sold": "May 14, 2008", "value": 94.8, "made": 1976, "period": "p4", "by": "other"}, {"sold": "June 24, 2008", "value": 87.6, "made": 1919, "period": "p3", "by": "other"}, {"sold": "October 2008", "value": 109.9, "made": 1963, "period": "p4", "by": "Warhol"}, {"sold": "November 3, 2008", "value": 67.2, "made": 1916, "period": "p3", "by": "other"}, {"sold": "February 1, 2009", "value": 79.2, "made": 1559, "period": "p1", "by": "other"}, {"sold": "March 2010", "value": 120.3, "made": 1954, "period": "p4", "by": "other"}, {"sold": "May 4, 2010", "value": 116.2, "made": 1932, "period": "p3", "by": "Picasso"}, {"sold": "November 2, 2010", "value": 75.0, "made": 1917, "period": "p3", "by": "other"}, {"sold": "November 8, 2010", "value": 68.9, "made": 1962, "period": "p4", "by": "Warhol"}, {"sold": "April 2011", "value": 274, "made": 1893, "period": "p2", "by": "other"}, {"sold": "May 22, 2011", "value": 69.0, "made": 1946, "period": "p4", "by": "other"}, {"sold": "June 4, 2011", "value": 65.5, "made": 1350, "period": "p1", "by": "other"}, {"sold": "July 12, 2011", "value": 79.0, "made": 1526, "period": "p1", "by": "other"}, {"sold": "2012", "value": 118, "made": 1917, "period": "p3", "by": "other"}, {"sold": "March 2, 2012", "value": 74.4, "made": 1559, "period": "p1", "by": "other"}, {"sold": "May 2, 2012", "value": 124.2, "made": 1895, "period": "p2", "by": "other"}, {"sold": "May 8, 2012", "value": 90.0, "made": 1961, "period": "p4", "by": "other"}, {"sold": "November 13, 2012", "value": 77.3, "made": 1954, "period": "p4", "by": "other"}, {"sold": "2013", "value": 102, "made": 1904, "period": "p3", "by": "other"}, {"sold": "March 26, 2013", "value": 158.5, "made": 1932, "period": "p3", "by": "Picasso"}, {"sold": "May 2013", "value": 127.5, "made": 1519, "period": "p1", "by": "other"}, {"sold": "October 4, 2013", "value": 107.7, "made": 1968, "period": "p4", "by": "other"}, {"sold": "November 12, 2013", "value": 145.0, "made": 1969, "period": "p4", "by": "other"}, {"sold": "November 13, 2013", "value": 107.7, "made": 1963, "period": "p4", "by": "Warhol"}, {"sold": "May 13, 2014", "value": 84.2, "made": 1952, "period": "p4", "by": "other"}, {"sold": "May 13, 2014", "value": 80.9, "made": 1961, "period": "p4", "by": "other"}, {"sold": "May 13, 2014", "value": 66.3, "made": 1984, "period": "p4", "by": "other"}, {"sold": "August 2014", "value": 186, "made": 1951, "period": "p4", "by": "other"}, {"sold": "November 5, 2014", "value": 65.1, "made": 1881, "period": "p2", "by": "other"}, {"sold": "November 12, 2014", "value": 81.9, "made": 1963, "period": "p4", "by": "Warhol"}, {"sold": "November 12, 2014", "value": 69.6, "made": 1966, "period": "p4", "by": "Warhol"}, {"sold": "November 12, 2014", "value": 69.6, "made": 1970, "period": "p4", "by": "other"}, {"sold": "February 2015", "value": 300, "made": 1892, "period": "p2", "by": "other"}, {"sold": "May 5, 2015", "value": 66.3, "made": 1888, "period": "p2", "by": "Van Gogh"}, {"sold": "May 11, 2015", "value": 179.3, "made": 1938, "period": "p3", "by": "Picasso"}, {"sold": "May 11, 2015", "value": 67.4, "made": 1955, "period": "p4", "by": "Picasso"}, {"sold": "May 15, 2015", "value": 81.9, "made": 1961, "period": "p4", "by": "other"} ]   },    {      "name": "date_min_max", "format": {"type": "json", "parse": {"min_max": "date"}}, "values": [       {"min_max": "1985"}, {"min_max": "2016"} ]   }  ],

"scales": [   {      "name": "scale_date", "type": "time", "domain": {"data": "date_min_max", "field": "min_max"}, "range": "width", "nice": "year" },   {      "name": "scale_price", "type": "linear", "domain": {"data": "table", "field": "value"}, "range": "height", "nice": true },   {      "name": "scale_period_colour", "type": "ordinal", "domain": ["p1", "p2", "p3", "p4"], "range": ["red", "green", "blue", "cyan"] },   {      "name": "scale_period_text", "type": "ordinal", "domain": ["p1", "p2", "p3", "p4"], "range": ["before 1801", "1801–1900", "1901–1945", "after 1945"] },   {      "name": "scale_by_shape", "type": "ordinal", "domain": ["Van Gogh", "Picasso", "Warhol", "other"], "range": ["square", "triangle-up", "triangle-down", "circle"] },   {      "name": "scale_by_colour", "type": "ordinal", "domain": ["Van Gogh", "Picasso", "Warhol", "other"], "range": ["green", "blue", "cyan", "white"] } ],

"axes": [   {      "type": "x", "scale": "scale_date", "title": "Date of sale", "tickSizeEnd": 0, "subdivide": 4 },   {      "type": "y", "scale": "scale_price", "title": "Adjusted price (in $ millions)", "titleOffset": 50, "subdivide": 4 },   {      "type": "y", "scale": "scale_price", "title": "Adjusted price (in $ millions)", "titleOffset": 50, "subdivide": 4, "orient": "right" } ],

"legends": [   {      "title": "Period", "fill": "scale_period_colour", "properties": {       "labels": {         "text": {"scale": "scale_period_text", "field": "data"}, "fontSize": {"value": 12} },       "legend": {         "x": {"value": 20}, "stroke": {"value": "black"} }     }    },    {      "title": "Author", "shape": "scale_by_shape", "fill": "scale_by_colour", "properties": {       "labels": {         "fontSize": {"value": 12} },       "legend": {         "x": {"value": 125}, "stroke": {"value": "black"} }     }    }  ],

"marks": [   {      "type": "symbol", "from": {       "data": "table", "transform": [         {"type": "sort", "by": "-made"} ]     },      "properties": {       "enter": {         "x": {"scale": "scale_date", "field": "sold"}, "y": {"scale": "scale_price", "field": "value"}, "fill": {"scale": "scale_period_colour", "field": "period"}, "shape": {"scale": "scale_by_shape", "field": "by"}, "size": {"value": 100}, "stroke": {"value": "white"}, }     }    }  ] }

Moscow Metro
Graph:Moscow Metro expansion keeps data table on a separate page used in: List of Moscow Metro stations, Expansion timeline of the Moscow Metro ru: template, use1, use2

Films based on comics
List of films based on English-language comics

Marvel — DC — Dark Horse

{ "version": 2, "name": "image", "width": 200, "height": 200, "padding": {"left":30, "top":10, "bottom":30, "right":10}, "data": [ {     "name": "data", "values": [ {"x":0.5, "y":0.5, "img":""}, {"x":1.5, "y":1.5, "img":""}, {"x":2.5, "y":2.5, "img":""} ]   }  ],  "scales": [ {"name": "x", "domain": [0, 3], "range": "width"}, {"name": "y", "domain": [0, 3], "range": "height"} ], "axes": [ {"type": "x", "scale": "x"}, {"type": "y", "scale": "y"} ], "marks": [ {     "type": "image", "from": {"data": "data"}, "properties": { "enter": { "url": {"field": "img"}, "width": {"value": 50}, "height": {"value": 50}, "x": {"scale": "x", "field": "x"}, "y": {"scale": "y", "field": "y"}, "align": {"value": "center"}, "baseline": {"value": "middle"} },       "update": { "opacity": {"value": 1.0} },       "hover": { "opacity": {"value": 0.5} }     }    }  ] }

{ "version": 2, "width": 1200, "height": 600,

"data": [   {      "name": "films", "format": {"type": "json", "parse": {"released": "date"}}, "values": [       {"released": "August 21, 1998", "title": "blade", "box_adj": }, {"released": "July 14, 2000", "title": "x-men", "box_adj": }, {"released": "March 22, 2002", "title": "blade", "box_adj": }, {"released": "May 3, 2002", "title": "spider-man", "box_adj": }, {"released": "May 2, 2003", "title": "x-men", "box_adj": }, {"released": "June 30, 2004", "title": "spider-man", "box_adj": }, {"released": "May 26, 2006", "title": "x-men", "box_adj": }, {"released": "May 4, 2007", "title": "spider-man", "box_adj": }, {"released": "May 1, 2009", "title": "x-men", "box_adj": }, {"released": "June 3, 2011", "title": "x-men", "box_adj": }, {"released": "July 3, 2012", "title": "spider-man", "box_adj": }, {"released": "May 2, 2014", "title": "spider-man", "box_adj": }, {"released": "May 23, 2014", "title": "x-men", "box_adj": } ]   },    {      "name": "date_min_max", "format": {"type": "json", "parse": {"min_max": "date"}}, "values": [       {"min_max": "1995"}, {"min_max": "2015"} ]   }  ],

"scales": [   {      "name": "scale_date", "type": "time", "domain": {"data": "date_min_max", "field": "min_max"}, "range": "width", "nice": "year", "zero": false },   {      "name": "scale_box", "type": "linear", "domain": {"data": "films", "field": "box_adj"}, "range": "height", "nice": true, "zero": true },   {      "name": "scale_title_img", "type": "ordinal", "domain": ["x-men", "spider-man", "blade"], "range": ["", "",               ""]    }  ],

"axes": [   {      "type": "x", "scale": "scale_date", "title": "Release date", "subdivide": 4 },   {      "type": "y", "scale": "scale_box", "title": "Adjusted box-office (in $ millions)", "subdivide": 4 },   {      "type": "y", "scale": "scale_box", "title": "Adjusted box-office (in $ millions)", "subdivide": 4, "orient": "right" } ],

"marks": [   {      "type": "image", "from": {"data": "films"}, "properties": {       "enter": {         "url": {"scale": "scale_title_img", "field": "title"}, "width": {"value": 35}, "height": {"value": 35}, "x": {"scale": "scale_date", "field": "released"}, "y": {"scale": "scale_box", "field": "box_adj"}, "align": {"value": "center"}, "baseline": {"value": "middle"} }     }    }  ]

}

New Testament papyri
List of New Testament papyri

!commons! finish cleanup Category:Oxyrhynchus papyri