Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
matan_benyishay
Helper II
Helper II

Second glyph/plot segment in Charticulator

Hi,

I'm trying to use Charticulator to make a template for a jitter chart with median and average lines. This is especially helpful for visualizing the variation within and between groups, including for racial equity. For an example, please take a look at the right chart in the attached photo (not produced in Power BI).

I've been able to get the jitter functionality in Charticulator - this seems simple enough, since the plot segment allows a jitter type. However, I can't figure out how to add a second glyph, or to attach the data to a second plot segment, in order to get median and average lines. Does this need a second data set? What is the workflow here?

 

Jitter chart.jfif

Time to housing jitter.png

1 REPLY 1
ppm1
Solution Sage
Solution Sage

I think you'll have more flexibility with the Deneb visual for this one (based on Vega Lite). Here is a quick example.

ppm1_0-1669174828259.png

 

Below is the JSON "spec" for the above chart that you can modify as needed. Also, here is a link with a good intro to Deneb - Getting Started | Deneb

{
  "data": {"name": "dataset"},
  "transform": [
    {
      "calculate": "random()",
      "as": "jitter"
    }
  ],
  "layer": [
    {
      "mark": {"type": "point"},
      "encoding": {
        "x": {
          "field": "Total Qty",
          "type": "quantitative"
        },
        "yOffset": {"field": "jitter"}
      }
    },
    {
      "mark": {
        "type": "tick",
        "size": 200,
        "color": "red"
      },
      "encoding": {
        "x": {
          "field": "Total Qty",
          "aggregate": "mean"
        },
        "detail": {"field": "Category"}
      }
    }
  ],
  "encoding": {
    "y": {
      "field": "Category",
      "type": "nominal"
    }
  }
}

 

Pat

 

Microsoft Employee

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

Find out what's new and trending in the Fabric community.