Forum Discussion

Salle's avatar
Salle
Icon for Advocate I rankAdvocate I
3 years ago
Solved

Deneb: Distribution curve on bar diagram

Hi, need some help on what I am doing wrong here. The end-goal I wish to achive is a distribution curve combined with histogram. I have been looking into the use of density in deneb but do no...
  • Salle's avatar
    Salle
    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".