Bill Finzer

Forum Replies Created

Viewing 15 posts - 301 through 315 (of 401 total)
  • Author
    Posts
  • in reply to: double legend on map #823
    Bill Finzer
    Keymaster

    Ah, that makes it clear. I’m guessing you don’t really need points plotted in each state? If that’s true, then rename latitude and/or longitude to something CODAP won’t recognize as lat/long. I often add an underscore to the end of the name. Then when you drop an attribute on the map you’ll just get a legend for the boundaries.

    Hope that helps!

    in reply to: double legend on map #821
    Bill Finzer
    Keymaster

    Hi Andee,

    Though I don’t see an attachment, I’m guessing that your map has two “layers” from the same dataset; e.g. States’ boundaries and cities as points with latitude and longitude. Let’s assume the States are at one level and the cities at the level beneath. Now, you drag a categorical attribute for cities into the map and you get two legends. Ugh!

    This is a bug that I fixed yesterday. It will appear in build 0476.

    In the meantime you can click on one of the legend attribute names and use the resulting menu to remove that legend. The other legend will remain.

    Now if, by chance, both layers are at the same level, then the problem will persist even after the bug fix and there’s some question about what the behavior should be. Similarly, if the legend attribute belongs to the higher level, the problem will also persist, again with more design thinking required.

    Thanks so much for posting your question, and I hope this response helps, at least a bit.

    Bill

    in reply to: Simulate with CODAP #817
    Bill Finzer
    Keymaster

    Hi Joachim,

    It sounds like you’ve already figured out the (few) ways there are to do statistical simulation in CODAP, which remains far behind the capabilities built into Fathom.

    Bill

    in reply to: Non-linear relationships #814
    Bill Finzer
    Keymaster

    Hi Wendy,

    CODAP doesn’t have any curve fitting capabilities (beyond linear). Of course it’s possible to fit a curve from a chosen family by setting up a slider to vary, and computing squares of residuals whose sum can be minimized, but this is a lot of work.

    Bill

    in reply to: Sorting"case value" plots #808
    Bill Finzer
    Keymaster

    Hi Andee,

    Regarding the formula workaround, I just thought of a simplification:

    (caseIndex+10)+”_”+State

    The goal is that the computed value sort alphabetically to the same order as the states appear in the table.

    caseIndex is the row number in the table. By adding 10, we avoid the complication that alphameric sorting places “10_” before “2_”. So once the states are sorted in decreasing order of Lyme disease incidence, the values computed by the formula will also sort in that order and that will be the default order in which they appear on a categorical axis.

    Confusing? You bet! 🙂

    in reply to: Sorting"case value" plots #807
    Bill Finzer
    Keymaster

    Regarding the connection between case order in the table and order of categories: We regard these two things as conceptually distinct. Suppose, for example that you have census records of people, each with a marital status. We don’t say that the order of the records should determine the order in which ‘married,’ ‘divorced,’ ‘never married,’ etc should appear on a categorical axis. The default order is alphabetical, and the user can change that order manually.

    But perhaps this brings up a research question: How do learners regard categorical values, and how do they come to understand the different ways they can be used in data visualization and analysis?

    in reply to: Sorting"case value" plots #801
    Bill Finzer
    Keymaster

    Hi Andee,

    So you didn’t want to drag the states to the desired order?

    I was stuck for quite a while and almost gave up the search for an automated solution. But, as you can see in the screen captures, I was able to create a new attribute whose alphabetic order is in order of decreasing incidence.

    So that gives you a “workaround” but it’s hardly a generally useful solution.

    One wrinkle is that most of the time a given category (State in this case) has more than one value. So you would have to plot something like a mean to have single-values to order by. Then you could have a command somewhere in the graph interface to Order by Value.

    But do we want to add something to the interface to automate a task seldom encountered and that can be done manually?

    Bill

    in reply to: Line plots #798
    Bill Finzer
    Keymaster

    Hi Joachim,

    CODAP determines how to group connected lines by the grouping at the leftmost level of the case table. So you can produce the effect you want by dragging the country attribute to the left in you case table so that it forms a new level.

    If the legend attribute is the same as the grouping attribute, then the points and lines will get the same colors.

    Bill

    in reply to: Embedding webpage (or local video file) in CODAP #795
    Bill Finzer
    Keymaster

    Hi Colin,

    Many web sited, including google and youtube do not allow themselves to be embedded in an iFrame. Try https://en.wikipedia.org/wiki/Cats_(musical)
    or concord.org to see that some URLs work.
    Bill
    in reply to: Printing from CODAP #787
    Bill Finzer
    Keymaster

    Hi Kurt,

    Unfortunately there is no good way to print directly from CODAP.

    For graphs (and maps), you can use the Camera icon menu and export an image of the graph.

    For tables you can use screen capture software.

    Sorry I don’t have a better solution for you.

    Bill

    in reply to: CODAP data generator? #786
    Bill Finzer
    Keymaster

    Hi Kurt,

    There is a good way to do this in CODAP.

    1. From the Table icon menu choose –new–.
    2. Rename the AttributeName attribute (using Attribute Properties) to something meaningful, like IQ.
    3. Click on the green rectangle in the first row and choose Insert Cases….
    4. Enter the desired number of cases you want; e.g. 1000 and press the Insert Cases button.
    5. Click on the attribute name and choose Edit Formula….
    6. Enter the formula

    randomNormal(100,10)

    That should do it!

    BTW, I think you had to leave the webinar before the very end when I did a demo of this very thing! But with sliders!

    Bill

    in reply to: Working with maps – Creating boundaries. #779
    Bill Finzer
    Keymaster

    Hi Sonny,

    My bad. I was thinking of census tracts, which we haven’t provided. Thanks for getting back to me!

    So here is a link to an example using congressional districts. And the enclosed screenshot shows the 4 ways that congressional districts can be keyed.

    We haven’t updated the congressional districts for the remapping in Pennsylvania. But we should. I’ll add it to our list!

    Bill

    in reply to: Working with maps – Creating boundaries. #772
    Bill Finzer
    Keymaster

    Hello Sonny,

    We haven’t provided congressional district boundaries. But we could if you or someone else had a need for them. What are you wanting to do?

    Bill

    in reply to: Working with maps – Creating boundaries. #761
    Bill Finzer
    Keymaster

    Hello Dany,

    We do not have the Italian boundaries in our database. It would not be very difficult to create. If you or someone you work with were willing to do part of the work, we could add them.

    BTW, I notice from Google Analytics that there is a lot of CODAP activity in Italy recently. Do you happen to know anything about that?

    Bill

    in reply to: Add vertical line #758
    Bill Finzer
    Keymaster

    Hi Andee,

    I was disappointed to find that the movable line disappears when it is exactly vertical. Darn. I’ll log that as a bug. BTW a horizontal movable line works fine.

    For a vertical line you can use a Slider and Plot Value. Your formula for the plotted value will simply be the name of the slider. Then you can drag the slider to change the position of the vertical line. Not as nice as direct manipulation, of course.

    I’ve included a screen shot that shows both a vertical line with position determined by a slider, and a horizontal movable line that you can grab and move directly.

    Bill

     

Viewing 15 posts - 301 through 315 (of 401 total)