{
  "name": "finance-vix",
  "title": "VIX - CBOE Volatility Index",
  "homepage": "http://www.cboe.com/micro/VIX/",
  "version": "0.1.0",
  "license": "PDDL-1.0",
  "sources": [
    {
      "title": "CBOE VIX Page",
      "name": "CBOE VIX Page",
      "web": "http://www.cboe.com/micro/vix/historical.aspx"
    }
  ],
  "resources": [
    {
      "name": "vix-daily",
      "path": "vix-daily.csv",
      "format": "csv",
      "mediatype": "text/csv",
      "schema": {
        "fields": [
          {
            "name": "Date",
            "type": "date",
            "description": ""
          },
          {
            "name": "VIXOpen",
            "type": "number",
            "description": ""
          },
          {
            "name": "VIXHigh",
            "type": "number",
            "description": ""
          },
          {
            "name": "VIXLow",
            "type": "number",
            "description": ""
          },
          {
            "name": "VIXClose",
            "type": "number",
            "description": ""
          }
        ],
        "primaryKey": "Date"
      }
    }
  ],
  "views": [
    {
      "name": "vega4",
      "resources": [
        0
      ],
      "specType": "vega",
      "spec": {
        "width": 600,
        "height": 300,
        "data": [
          {
            "name": "vix-daily"
          }
        ],
        "scales": [
          {
            "name": "VIXOpen",
            "type": "point",
            "range": "width",
            "domain": {
              "data": "vix-daily",
              "field": "VIXOpen"
            }
          },
          {
            "name": "VIXHigh",
            "type": "linear",
            "range": "height",
            "domain": {
              "data": "vix-daily",
              "field": "VIXHigh"
            }
          }
        ],
        "axes": [
          {
            "orient": "bottom",
            "scale": "VIXOpen"
          },
          {
            "orient": "left",
            "scale": "VIXHigh"
          }
        ],
        "marks": [
          {
            "type": "line",
            "from": {
              "data": "vix-daily"
            },
            "encode": {
              "enter": {
                "x": {
                  "scale": "VIXOpen",
                  "field": "VIXOpen"
                },
                "y": {
                  "scale": "VIXHigh",
                  "field": "VIXHigh"
                },
                "strokeWidth": {
                  "value": 2
                }
              },
              "strokeOpacity": {
                "value": 1
              }
            },
            "hover": {
              "strokeOpacity": {
                "value": 0.5
              }
            }
          }
        ]
      }
    }
  ]
}