Forum Discussion
Deneb: Distribution curve on bar diagram
- 3 years ago
KerKol, I adjusted the bandwith to match the standard deviation for the data sample used and got the following result.
KerKol wrote:sounds like you may have found the issue, the above curve looks about right.
You have the Y aggregated as a count for your bars, but perhaps not for your line. What happens if you adjust the aggregation?
For the y-axis of the bars I use the aggregate: "count" and for y-axis I use "field": "density".
I am curious about what you mean by "adjust the aggregation".
The code works for me on my own data. What happens when you set resolve to dependent?
And remove the domain scale?
KerKol thanks for your suggestions but it did not help...
When I set to dependent it moves sligthly along the x-axis.
When I also remove the domain scale the bar streches out along the x-axis. In both cases the line is still not changing.
How about the "x": {"field" : "value"}... What is really inside "value", how can its content be verified or changed?
I tried changing the bandwith since Diameter has several decimals and started to get some effect..
- KerKol3 years ago
Power Participant
sounds like you may have found the issue, the above curve looks about right.
You have the Y aggregated as a count for your bars, but perhaps not for your line. What happens if you adjust the aggregation?
- Salle3 years ago
Advocate I
KerKol, I adjusted the bandwith to match the standard deviation for the data sample used and got the following result.
KerKol wrote:sounds like you may have found the issue, the above curve looks about right.
You have the Y aggregated as a count for your bars, but perhaps not for your line. What happens if you adjust the aggregation?
For the y-axis of the bars I use the aggregate: "count" and for y-axis I use "field": "density".
I am curious about what you mean by "adjust the aggregation".- dvmax2 years agoNew Member
Привет, мне так же интересна эта тема. Разместите полный код JSON, спасибо!