[
  {
     "label": "Vertical Bar chart:summarizeY = Mean",
     "notes": "Circles are added for visual reference.",
     "tests": [
       "One bar per perior renders as expected",
       "Bar heights are roughly at mean levels for circles"
     ],
     "settings": {
        "max_width": 500,
        "x": {
           "column": "Period",
           "type": "ordinal"
        },
        "y": {
           "column": "Boil",
           "type": "linear",
           "domain":[0,null],
           "label": "Average Boiling Point (K)"
        },
        "marks": [
           {
              "type": "bar",
              "per": [
                 "Period"
              ],
              "summarizeY":"mean"
           },
           {
              "type": "circle",
              "per": [
                 "Element"
              ],
              "attributes":{"stroke":"black","fill":"none"}
           }
        ]
     },
     "filename":"elements.csv"
  },
  {
     "label": "Vertical Bar chart:summarizeY = Median",
     "notes": "Note that 0 must be specified in the y-domain to avoid hiding the first bar. Circles are added for visual reference.",
     "tests": [
       "One bar per perior renders as expected",
       "Bar heights are roughly at median levels for circles"
     ],
     "settings": {
        "max_width": 500,
        "x": {
           "column": "Period",
           "type": "ordinal"
        },
        "y": {
           "column": "Boil",
           "type": "linear",
           "domain":[0,null],
           "label": "Average Boiling Point (K)"
        },
        "marks": [
           {
              "type": "bar",
              "per": [
                 "Period"
              ],
              "summarizeY":"median"
           },
           {
              "type": "circle",
              "per": [
                 "Element"
              ],
              "attributes":{"stroke":"black","fill":"none"}
           }
        ]
     },
     "filename":"elements.csv"
  },
  {
     "label": "Vertical Bar chart:summarizeY = Min",
     "notes": "Note that 0 must be specified in the y-domain to avoid hiding the first bar. Circles are added for visual reference.",
     "tests": [
       "One bar per perior renders as expected",
       "Bar heights are roughly at min levels for circles"
     ],
     "settings": {
        "max_width": 500,
        "x": {
           "column": "Period",
           "type": "ordinal"
        },
        "y": {
           "column": "Boil",
           "type": "linear",
           "domain":[0,null],
           "label": "Average Boiling Point (K)"
        },
        "marks": [
           {
              "type": "bar",
              "per": [
                 "Period"
              ],
              "summarizeY":"min"
           },
           {
              "type": "circle",
              "per": [
                 "Element"
              ],
              "attributes":{"stroke":"black","fill":"none"}
           }
        ]
     },
     "filename":"elements.csv"
  },
  {
     "label": "Vertical Bar chart:summarizeY = Max",
     "notes": "Note that 0 must be specified in the y-domain to avoid hiding the first bar. Circles are added for visual reference.",
     "tests": [
       "One bar per perior renders as expected",
       "Bar heights are at max levels for circles"
     ],
     "settings": {
        "max_width": 500,
        "x": {
           "column": "Period",
           "type": "ordinal"
        },
        "y": {
           "column": "Boil",
           "type": "linear",
           "domain":[0,null],
           "label": "Average Boiling Point (K)"
        },
        "marks": [
           {
              "type": "bar",
              "per": [
                 "Period"
              ],
              "summarizeY":"max"
           },
           {
              "type": "circle",
              "per": [
                 "Element"
              ],
              "attributes":{"stroke":"black","fill":"none"}
           }
        ]
     },
     "filename":"elements.csv"
  },
  {
     "label": "Vertical Bar chart:summarizeY = count",
     "notes": "Note that 0 must be specified in the y-domain to avoid hiding the first bar.",
     "tests": [
       "One bar per period renders as expected",
       "Bar heights are integers showing count of elements in the group"
     ],
     "settings": {
        "max_width": 500,
        "x": {
           "column": "Period",
           "type": "ordinal"
        },
        "y": {
           "column": "Boil",
           "type": "linear",
           "domain":[0,null],
           "label": "Average Boiling Point (K)"
        },
        "marks": [
           {
              "type": "bar",
              "per": [
                 "Period"
              ],
              "summarizeY":"count"
           }
        ]
     },
     "filename":"elements.csv"
  },
  {
     "label": "Vertical Bar chart:summarizeY = sum",
     "notes": "Note that 0 must be specified in the y-domain to avoid hiding the first bar. Circles are added for visual reference.",
     "tests": [
       "One bar per perior renders as expected",
       "Bar heights adds up the values of all the circles"
     ],
     "settings": {
        "max_width": 500,
        "x": {
           "column": "Period",
           "type": "ordinal"
        },
        "y": {
           "column": "Boil",
           "type": "linear",
           "domain":[0,null],
           "label": "Average Boiling Point (K)"
        },
        "marks": [
           {
              "type": "bar",
              "per": [
                 "Period"
              ],
              "summarizeY":"sum"
           },
           {
              "type": "circle",
              "per": [
                 "Element"
              ],
              "attributes":{"stroke":"black","fill":"none"}
           }
        ]
     },
     "filename":"elements.csv"
  }
]
