File:Number of re-education related government procurement bids in Xinjiang.svg

From UBC Wiki

Original file(SVG file, nominally 630 × 370 pixels, file size: 16 KB)

Render this image in .

This file is from Wikimedia Commons and may be used by other projects. The description on its file description page there is shown below.

Summary

Description
English: Number of re-education related government procurement bids in Xinjiang from April 2016 to May 2018, based on data from the Jamestown Foundation. Created using Vega and edited by hand to add translations. Information on how this graph was generated can be found here, and its source code is duplicated below.
Date
Source Own work
Author Cody Logan
SVG development
InfoField
 
The SVG code is valid.
 
This chart was created with another SVG tool.
 
 This chart is translated using SVG switch elements: all translations are stored in the same file.

Licensing

I, the copyright holder of this work, hereby publish it under the following license:
Creative Commons CC-Zero This file is made available under the Creative Commons CC0 1.0 Universal Public Domain Dedication.
The person who associated a work with this deed has dedicated the work to the public domain by waiving all of their rights to the work worldwide under copyright law, including all related and neighboring rights, to the extent allowed by law. You can copy, modify, distribute and perform the work, even for commercial purposes, all without asking permission.

Source code

The following JSON code can be copied into the Vega editor to generate a PNG or SVG image.

{
  "$schema": "https://vega.github.io/schema/vega/v4.json",
  "width": 600,
  "height": 300,
  "padding": 5,

  "title": "Number of re-education related government procurement bids in Xinjiang",
  "data": [
    {
      "name": "table",
      "values": [
        {"month": "2016-04", "bids": 1},
        {"month": "2016-05", "bids": 0},
        {"month": "2016-06", "bids": 0},
        {"month": "2016-07", "bids": 0},
        {"month": "2016-08", "bids": 0},
        {"month": "2016-09", "bids": 1},
        {"month": "2016-10", "bids": 0},
        {"month": "2016-11", "bids": 1},
        {"month": "2016-12", "bids": 1},
        {"month": "2017-01", "bids": 1},
        {"month": "2017-02", "bids": 0},
        {"month": "2017-03", "bids": 5},
        {"month": "2017-04", "bids": 4},
        {"month": "2017-05", "bids": 4},
        {"month": "2017-06", "bids": 13},
        {"month": "2017-07", "bids": 7},
        {"month": "2017-08", "bids": 8},
        {"month": "2017-09", "bids": 8},
        {"month": "2017-10", "bids": 4},
        {"month": "2017-11", "bids": 4},
        {"month": "2017-12", "bids": 3},
        {"month": "2018-01", "bids": 1},
        {"month": "2018-02", "bids": 2},
        {"month": "2018-03", "bids": 2},
        {"month": "2018-04", "bids": 2},
        {"month": "2018-05", "bids": 1}
      ]
    }
  ],

  "scales": [
    {
      "name": "xscale",
      "type": "band",
      "domain": {"data": "table", "field": "month"},
      "range": "width",
      "padding": 0.35,
      "round": true
    },
    {
      "name": "yscale",
      "domain": {"data": "table", "field": "bids"},
      "nice": true,
      "range": "height"
    }
  ],

  "axes": [
    { "orient": "bottom", "scale": "xscale", "labelAngle": -45, "labelAlign": "right" },
    { "orient": "left", "scale": "yscale", "grid": true, "tickCount": 7 }
  ],

  "marks": [
    {
      "type": "rect",
      "from": {"data":"table"},
      "encode": {
        "enter": {
          "x": {"scale": "xscale", "field": "month"},
          "width": {"scale": "xscale", "band": 1},
          "y": {"scale": "yscale", "field": "bids"},
          "y2": {"scale": "yscale", "value": 0}
        },
        "update": {
          "fill": {"value": "steelblue"}
        }
      }
    }
  ]
}

Captions

Chart showing the number of re-education related government procurement bids in Xinjiang from April 2016 to May 2018

Items portrayed in this file

depicts

20 August 2018

image/svg+xml

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current15:04, 25 August 2021Thumbnail for version as of 15:04, 25 August 2021630 × 370 (16 KB)wikimediacommons>Wiki-kslAdded Portuguese translation

The following page uses this file: