http://www.perlmonks.org?node_id=1069278


in reply to Re^4: Data visualisation.
in thread Data visualisation.

I only meant not valid in the narrow framework of "the 'as the crow flies' distances into a set of 2D plane coordinates for plotting" set out in your original post. I fully appreciate that it surely can be valid in other contexts.

Replies are listed 'Best First'.
Re^6: Data visualisation.
by BrowserUk (Patriarch) on Jan 04, 2014 at 13:38 UTC
    I fully appreciate that it surely can be valid in other contexts.

    The point is, I set out to try and visualise any dataset that might come my way -- not just this specific dataset.

    I posted a dataset as an example of what I was trying to achieve; and this particular dataset because it is the one I was working with at the time and the smallest one to hand.

    And please note; I didn't ask, expect nor want anyone to write the code for me. I rarely ever use other people's code.

    Anyone writing code based upon their own assumptions is solving a different problem to the one I set out to tackle.


    With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.

      I didn't ask, expect nor want anyone to write the code for me. I rarely ever use other people's code.

      Anyone wanting to use the code I posted or part thereof is entirely free to do so, but I certainly did not expect you to use my code. First I know for sure you are perfectly able to write your own code and your own solution. Second, I posted a quick code snippet written only for testing purposes, and even I would certainly rewrite it almost entirely if I were to work seriously on this type of problem. I only wanted to give an actual workable implementation of some of the ideas that came to my mind, this and nothing more.

      for a general solution, you would probably need for each connection both values:
      • beeline distance
      • "road" distance

        Unfortunately, available datasets do not come that way.

        Most of the time they don't even come with any indication of which type of 'distance' they contain. They are just abstract sets of numbers that might represent time, litres, candles, dollars, similarities etc.

        The dataset's only requirement to be useful for research purposes, is that they have known solutions; and the desire to visualise them does not go away because they are inconvenient.


        With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
        Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
        "Science is about questioning the status quo. Questioning authority".
        In the absence of evidence, opinion is indistinguishable from prejudice.