Bubble Histogram

{
  "$schema": "https://vega.github.io/schema/vega-lite/v5.json",
  "usermeta": {
    "deneb": {
      "build": "1.4.0.0",
      "metaVersion": 1,
      "provider": "vegaLite",
      "providerVersion": "5.4.0"
    },
    "interactivity": {
      "tooltip": true,
      "contextMenu": true,
      "selection": false,
      "highlight": false,
      "dataPointLimit": 50
    },
    "information": {
      "name": "Bubble Histogram",
      "description": "[No Description Provided]",
      "author": "Kerry Kolosko",
      "uuid": "e5417a32-12c5-4d12-a5fc-6eefe46d2985",
      "generated": "2022-10-23T13:41:01.434Z",
      "previewImageBase64PNG": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIcAAABVCAYAAABjEfcuAAAAAXNSR0IArs4c6QAAH5JJREFUeF7tfQl4FGW29nuqkoAgIKDizuYouI/MHQQC4ggkkAWSQDYS2UJCEEWCy6iAkYCOC0F/lRBIQAmQGLJISCDB6+CVRLxecXRUgjPKCFfvP+OF4MYSkq5zn1PdXV3V3Uk6LALa3/PwkK766nzbW1XfOec9pwj+4p+BFmaA/DPjn4GWZsAPDreZGZhb/DGALs7DzDx376y4Lb9GCPnB4QkONh8i5uQ9s+LW+8HxC5iBa9dv7Rr40w9Jxp1PdGRvWtxrvg5tYG7xYQAXOev7weHrzJ0H9QbkFE8lBWvNXa1Pi/X5CekHh2vmfJ40d1wMzC1+E0An4zjzo/Wz4t5x/h64suge45yicH1qbMHpwpZFNoD6WfHrnLK9gONQfVrsxb627QfH6QGH9d2scdye9LhiET1gVfGdxHjbvCBNjSe6fXF/0g++LlJL9W58pfgyLQD/33zeRtrv/5Ya/196255PjtMKjptyi/qb2/40Lf7LUx2TL9cPyCnvA7X5XmddhbUje9LiMn259mTrnMqT4yiAC4x382kEx8CVr48AU0+n7ABuevuT2ZNlL4CzCY4BK4uHEOFdCzDRfMnf0hIPnuwC+HrdgNziRAI2nOzr0td2zPXOCjgGrNo0FDZtjNERlb7amxr7qvP3DbmbvmRwP1dHeVF9WlzW+QCOm1Zv7OXsd5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yEhgrAxJfkPmfixhDKo8yVc2ynFRBmYacCDvlykyygWFXl7pRJPGESLrxTcdbJBMkCu7PFZOMrJF+ZKNEuzMCSu0pCIcWzKscN7qpDvlO2xInKAsuu3nyXiWxZQAGtPBmMPKKOO1ZkS7+lCMfTvPFzjkvuYFkcgwNqaluul6eRLKx7wLK0fa2jrpyzZF8GIAssN4U8nYRd7q6WyuILFVBku8+Z9NnZdxnTGc2vfirgOGOI9Qs+N2bAD45zYx3OyV74wXFOLsu50Sk/OM6NdTgne+EHxzm5LOdGp/zgODfW4ZzsxamCQ8LxxJAjernEnArTW9Q40fEl+4339M/n5FT4O+U+A6cLHKK7C0AEFGInkP/F8OW0AbREA/CvyDk8A6cKjnN4aP6uneoM/B/Th5conlCSegAAAABJRU5ErkJggg=="
    },
    "dataset": [
      {
        "key": "__0__",
        "name": "X",
        "description": "",
        "type": "text",
        "kind": "column"
      },
      {
        "key": "__1__",
        "name": "Y",
        "description": "",
        "type": "numeric",
        "kind": "column"
      },
      {
        "key": "__2__",
        "name": "Value",
        "description": "",
        "type": "numeric",
        "kind": "measure"
      }
    ]
  },
  "config": {
    "autosize": {
      "type": "fit",
      "contains": "padding"
    },
    "view": {"stroke": "transparent"}
  },
  "data": {"name": "dataset"},
  "spacing": 15,
  "bounds": "flush",
  "vconcat": [
    {
      "height": 60,
      "width": 350,
      "mark": {
        "type": "bar",
        "width": 15,
        "stroke": null,
        "cornerRadiusEnd": 2,
        "tooltip": true,
        "color": "#2999AA"
      },
      "encoding": {
        "x": {
          "field": "__0__",
          "axis": null
        },
        "y": {
          "field": "__2__",
          "aggregate": "mean",
          "axis": null
        }
      }
    },
    {
      "spacing": 15,
      "bounds": "flush",
      "hconcat": [
        {
          "height": 175,
          "width": 350,
          "mark": {
            "type": "circle",
            "opacity": 0.9,
            "stroke": "transparent",
            "tooltip": true
          },
          "encoding": {
            "y": {
              "field": "__1__",
              "type": "ordinal",
              "sort": "descending",
              "axis": {
                "domain": false,
                "ticks": false,
                "labels": true,
                "labelAngle": 0,
                "labelPadding": 5,
                "titlePadding": 15,
                "labelColor": "black",
                "titleColor": "black",
                "title": "Day →",
                "titleY": 170,
                "titleAlign": "left"
              }
            },
            "x": {
              "field": "__0__",
              "type": "ordinal",
              "axis": {
                "domain": false,
                "ticks": false,
                "labels": true,
                "labelColor": "black",
                "titleColor": "black",
                "titlePadding": 15,
                "title": "Hour →",
                "labelAngle": 0,
                "titleX": 10,
                "titleAlign": "left"
              }
            },
            "size": {
              "aggregate": "sum",
              "field": "__2__",
              "type": "quantitative"
            },
            "color": {
              "aggregate": "sum",
              "field": "__2__",
              "type": "quantitative",
              "scale": {
                "range": [
                  "#2999AA",
                  "orange"
                ]
              },
              "legend": null
            }
          }
        },
        {
          "height": 175,
          "width": 60,
          "mark": {
            "type": "bar",
            "height": 15,
            "stroke": null,
            "cornerRadiusEnd": 2,
            "tooltip": true,
            "color": "#2999AA"
          },
          "encoding": {
            "y": {
              "field": "__1__",
              "axis": null
            },
            "x": {
              "field": "__2__",
              "type": "quantitative",
              "aggregate": "mean",
              "axis": null
            }
          }
        }
      ]
    }
  ]
}

9 comments

  1. Hi Kerry,
    Really amazing chart here.
    I am starting out with Deneb but has been struggling a bit.
    How would you add data point labels to each of the bubbles in this chart? Any help would be greatly appreciated.

  2. Could you please help me to add the data labels at the end of each bar of the histogram?
    I tried reading all the examples and I failed every time I add the code in your template.

    Many thanks
    Manuel

  3. This is very insightful presentation Kerry,

    This first time i am using Deneb.

    Could you please help me with the below questions ?
    1) Do we need previewImageBase64PNG ?

    2) Which Image is that ?

    3) Not sure why top bar is not coming up in my chart .

    Seems like we need some more code using vconcat

  4. Hi Kerry,
    I like this visual very much. The only I struggle with is that the bars are not changing position if I change the order of days (ascending/descending). I hope this is easy to solve.
    Thank you in advance,
    Karlijn

Leave a comment

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