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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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