1{2 "engine": "vega",3 "source": "{\n \"$schema\": \"https://vega.github.io/schema/vega/v6.json\",\n \"width\": 320,\n \"height\": 180,\n \"padding\": 5,\n \"data\": [{\n \"name\": \"steps\",\n \"values\": [\n {\"step\": \"Create\", \"count\": 8},\n {\"step\": \"Review\", \"count\": 5},\n {\"step\": \"Share\", \"count\": 7}\n ]\n }],\n \"scales\": [\n {\"name\": \"x\", \"type\": \"band\", \"domain\": {\"data\": \"steps\", \"field\": \"step\"}, \"range\": \"width\", \"padding\": 0.2},\n {\"name\": \"y\", \"type\": \"linear\", \"domain\": {\"data\": \"steps\", \"field\": \"count\"}, \"nice\": true, \"zero\": true, \"range\": \"height\"}\n ],\n \"axes\": [\n {\"orient\": \"bottom\", \"scale\": \"x\"},\n {\"orient\": \"left\", \"scale\": \"y\"}\n ],\n \"marks\": [{\n \"type\": \"rect\",\n \"from\": {\"data\": \"steps\"},\n \"encode\": {\"enter\": {\n \"x\": {\"scale\": \"x\", \"field\": \"step\"},\n \"width\": {\"scale\": \"x\", \"band\": 1},\n \"y\": {\"scale\": \"y\", \"field\": \"count\"},\n \"y2\": {\"scale\": \"y\", \"value\": 0},\n \"fill\": {\"value\": \"#7c3aed\"}\n }}\n }]\n}",4 "sourceKind": "page-example"5}