Split Violin

{
 "data": [
  {
   "type": "violin",
   "mode": "markers",
   "bandwidth": 0,
   "meta": {
    "columnNames": {
     "x": "body_mass_g",
     "y": "species",
     "marker": {
      "color": ""
     },
     "text": ""
    }
   },
   "x": [
   ],
   "xsrc": "body_mass_g",
   "y": [
   ],
   "ysrc": "species",
   "orientation": "h",
   "marker": {
    "color": "#118DFF",
    "size": 6,
    "symbol": "line-ns-open"
   },
   "scalemode": "width",
   "spanmode": "soft",
   "side": "positive",
   "box": {
    "visible": true
   },
   "meanline": {
    "visible": false
   },
   "points": "all",
   "pointpos": 1.7,
   "transforms": [
    {
     "type": "filter",
     "target": [
     ],
     "targetsrc": "sex",
     "meta": {
      "columnNames": {
       "target": "sex"
      }
     },
     "value": "FEMALE"
    }
   ],
   "name": "FEMALE",
   "line": {
    "width": 1
   },
   "jitter": 0
  },
  {
   "type": "violin",
   "bandwidth": 0,
   "x": [
   ],
   "xsrc": "body_mass_g",
   "meta": {
    "columnNames": {
     "x": "body_mass_g",
     "y": "species"
    }
   },
   "y": [
   ],
   "ysrc": "species",
   "orientation": "h",
   "transforms": [
    {
     "type": "filter",
     "target": [
     ],
     "targetsrc": "sex",
     "meta": {
      "columnNames": {
       "target": "sex"
      }
     },
     "value": "MALE"
    }
   ],
   "name": "MALE",
   "points": "all",
   "pointpos": -1.7,
   "jitter": 0,
   "marker": {
    "symbol": "line-ns-open"
   },
   "line": {
    "width": 1
   },
   "side": "negative",
   "box": {
    "visible": true
   }
  }
 ],
 "frames": [],
 "layout": {
  "xaxis": {
   "range": [
    2073.458602808449,
    6989.250220938954
   ],
   "autorange": true,
   "type": "linear"
  },
  "yaxis": {
   "range": [
    -0.6137341772151899,
    2.61373417721519
   ],
   "autorange": true,
   "type": "category"
  },
  "autosize": true,
  "mapbox": {
   "style": "open-street-map"
  },
  "violinmode": "overlay"
 }
}

Leave a comment

Your email address will not be published. Required fields are marked *