Multiple attributes on Y axis with categorical X axis

Tags:
Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #6367 Score: 0
    Andee Rubin
    Participant
    4 pts

    I love the ability to have multiple Y attributes – either on a single axis or two different axes.  However, CODAP doesn’t seem to allow this when the X-axis is categorical.  Is there a reason for that?  In the attached dataset, I want to plot both buffalo and wildebeest populations against month in the same graph.

    https://codap.concord.org/app/static/dg/en/cert/index.html#shared=https%3A%2F%2Fcfm-shared.concord.org%2FBzkCSnGcKP7V6o9PFDz5%2Ffile.json

    #6371
    Bill Finzer
    Keymaster

    Hi Andee,

    CODAP supports multiple y-axis attributes for scatterplots because it is such a common use case. While I’m sure there a many situations like the one you put forward where it would be useful they just don’t come up among our audience. (You’re the first.)

    Incidentally, I couldn’t resist creating this (unsatisfactory) workaround by superimposing two graphs, the top one with a transparent background.

    Bill

    #6372
    Andee Rubin
    Participant
    4 pts

    Perhaps you can help me figure out the best way to handle the situation I’m in if you don’t think this feature would be implemented…

     

    #6376
    Bill Finzer
    Keymaster

    The screenshot shows how to structure data so that you can get more than one “set” of values on the y-axis with a categorical attribute on the x-axis.

    Here is a link to that example document.

    Hope this helps,

    Bill

    #6547

    I am also requesting the feature to have two or numeric attributes on the Y axis when there is a categorical attribute on X. In out case we have many cities on the X and each has numeric values for indoor and outdoor water quality variables (e.g ph) and it would be good to compare all of these on the same Y

    #6548
    Bill Finzer
    Keymaster

    Hello Ashish,

    Thanks for adding your request for this feature. It really helps us prioritize.

    A question: Did you consider modifying the data structure as in my April 6 post? If you did so and rejected the idea, can you say a bit about what got in your way?

    Thanks,

    Bill

    #6563
    rgaston5@yahoo.com
    Participant

    Hi Bill,

    My son Matt’s use case is having a number of character types in D&D, and each character has a number of different attributes that have numeric values.

    So he has the various character types on the x, and wanted to add multiple attributes onto the y that could be compared for each attribute. Then questions could be answered like “Which character has the greatest strength? Durability?” etc.

    We looked at your restructuring of the data table in your April 6 post, and that actually seems like a good workaround! But ultimately having only points that are representing the data, rather than bars, and the points being potentially overlapping, may mean this isn’t the best tool for making the comparisons he’s trying to do.

    I hope the project is going well Bill, glad to see you all are still very active.

    Best,

    Rick

    #6565
    Bill Finzer
    Keymaster

    Hi Rick,

    I wonder if the graph screen capture is what you and Matt have been hoping for?

    Bill

    #10489

    Hello!I see that this thread is quite old, but am hoping to continue the conversation a bit. Basically, I would love to know how you created the multi bar chart that is in the screenshot you posted on 7/14/21!When I drag an attribute to the y or x axis and then drag another attribute to the middle of the display, I get a stacked bar chart. Curious how to convert into a multi bar display.Thanks!Rachel

    #10488
    Bill Finzer
    Keymaster

    Hello,Yes, it’s been awhile! But I reconstructed the CODAP document here so you can play with it.The critical move is, once you have the three attributes in place, to go to the graph’s Configuration menu (looks like a histogram) and choose¬†Bar for Each Point.Hope this helps,Bill

Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.