Forum Discussion

dadb25's avatar
dadb25
Helper I
3 years ago
Solved

Dot Plot - Custom visualisation

Hello community,

 

I want to create a Dot Plot , with this visualisation :

Is it possible to build these 4 colored areas ?

Thanks for your help

Regards

  • It's a math ^.^ I've created this one with 12 data points. If you will create more data points, it will look more natural.

     

    The standard equation of a circle is:

    (x - h)^2 + (y - k)^2 = r^2

    Where (h, k) is the center of the circle and r is the radius.

    So, if you know the values of x, h, k, and r, you can calculate the value of y.

    y = sqrt(r^2 - (x - h)^2) + k

    Blue0,252,9895651858
    Blue0,52,9580398915
    Blue12,8284271247
    Blue1,252,7271780287
    Blue1,52,5980762114
    Blue1,752,4366985862
    Blue22,2360679775
    Blue2,251,9843134833
    Blue2,51,6583123952
    Blue2,751,1989578808
    Blue30

3 Replies

  • MAwwad's avatar
    MAwwad
    Solution Sage
    1. To create the four colored areas, you will need a field to group the data by. Drag and drop that field in the "Color" section of the "Visualizations" pane.
    2. Adjust the formatting of the visualization and the axis as desired.

    By using the "Color" section of the visualization and a field that separates the data in 4 different groups, you can create the 4 colored areas. As always it is important that your data is well prepared to match this format.

    You can also use other visualization types such as Scatter chart with that format, but keep in mind that the dot plot will be more appropriate if you have a large number of data points and you want to show the distribution of values within a group.

    • dadb25's avatar
      dadb25
      Helper I

      Thanks for your reply,

      For the straight lines, I think I can build the field, but I'm wondering for the circle bow 🤐 . Do you have any clue how to handle that ?

      Kind regards

  • bolfri's avatar
    bolfri
    Solution Sage

    It's a math ^.^ I've created this one with 12 data points. If you will create more data points, it will look more natural.

     

    The standard equation of a circle is:

    (x - h)^2 + (y - k)^2 = r^2

    Where (h, k) is the center of the circle and r is the radius.

    So, if you know the values of x, h, k, and r, you can calculate the value of y.

    y = sqrt(r^2 - (x - h)^2) + k

    Blue0,252,9895651858
    Blue0,52,9580398915
    Blue12,8284271247
    Blue1,252,7271780287
    Blue1,52,5980762114
    Blue1,752,4366985862
    Blue22,2360679775
    Blue2,251,9843134833
    Blue2,51,6583123952
    Blue2,751,1989578808
    Blue30