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.
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?
I think you'll have more flexibility with the Deneb visual for this one (based on Vega Lite). Here is a quick example.
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
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
113 | |
99 | |
75 | |
73 | |
49 |
User | Count |
---|---|
145 | |
109 | |
109 | |
90 | |
64 |