{"action":"created","issue":{"url":"https://api.github.com/repos/timelyportfolio/parcoords/issues/16","labels_url":"https://api.github.com/repos/timelyportfolio/parcoords/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/timelyportfolio/parcoords/issues/16/comments","events_url":"https://api.github.com/repos/timelyportfolio/parcoords/issues/16/events","html_url":"https://github.com/timelyportfolio/parcoords/issues/16","id":125095945,"number":16,"title":"ordering for ordinal and continuous variables along vertical axes","user":{"login":"anobel","id":5186037,"avatar_url":"https://avatars.githubusercontent.com/u/5186037?v=3","gravatar_id":"","url":"https://api.github.com/users/anobel","html_url":"https://github.com/anobel","followers_url":"https://api.github.com/users/anobel/followers","following_url":"https://api.github.com/users/anobel/following{/other_user}","gists_url":"https://api.github.com/users/anobel/gists{/gist_id}","starred_url":"https://api.github.com/users/anobel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anobel/subscriptions","organizations_url":"https://api.github.com/users/anobel/orgs","repos_url":"https://api.github.com/users/anobel/repos","events_url":"https://api.github.com/users/anobel/events{/privacy}","received_events_url":"https://api.github.com/users/anobel/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2016-01-06T02:17:28Z","updated_at":"2016-01-07T21:44:05Z","closed_at":null,"body":"Is it possible to change the ordering of values along the various Y-axes in a `parcoords` plot?\r\n- For a categorical `factor` variable, it seems that when the plot is rendered, it is in descending order of frequency and does not respect the ordering of the `factor` variable. Is there a way to pass that through?\r\n- Similarly, it appears that all continuous values are organized in descending order. Is it possible to vary that, on an axis by axis basis? \r\n\r\nThis is achieved in `d3`, as I understand, by passing d3.scale.linear().range(); such as:\r\n ```   \r\nvar dimensions = [\r\n  {\r\n    name: \"name\",\r\n    scale: d3.scale.ordinal().rangePoints([0, height]),\r\n    type: \"string\"\r\n  },\r\n  {\r\n    name: \"economy (mpg)\",\r\n    scale: d3.scale.linear().range([0, height]),\r\n    type: \"number\"\r\n  }\r\n]\r\n```"},"comment":{"url":"https://api.github.com/repos/timelyportfolio/parcoords/issues/comments/169815117","html_url":"https://github.com/timelyportfolio/parcoords/issues/16#issuecomment-169815117","issue_url":"https://api.github.com/repos/timelyportfolio/parcoords/issues/16","id":169815117,"user":{"login":"timelyportfolio","id":837910,"avatar_url":"https://avatars.githubusercontent.com/u/837910?v=3","gravatar_id":"","url":"https://api.github.com/users/timelyportfolio","html_url":"https://github.com/timelyportfolio","followers_url":"https://api.github.com/users/timelyportfolio/followers","following_url":"https://api.github.com/users/timelyportfolio/following{/other_user}","gists_url":"https://api.github.com/users/timelyportfolio/gists{/gist_id}","starred_url":"https://api.github.com/users/timelyportfolio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timelyportfolio/subscriptions","organizations_url":"https://api.github.com/users/timelyportfolio/orgs","repos_url":"https://api.github.com/users/timelyportfolio/repos","events_url":"https://api.github.com/users/timelyportfolio/events{/privacy}","received_events_url":"https://api.github.com/users/timelyportfolio/received_events","type":"User","site_admin":false},"created_at":"2016-01-07T21:44:05Z","updated_at":"2016-01-07T21:44:05Z","body":"@anobel, with `rownames = TRUE` do you see any errors in your console (F12 in Chrome) or right-click-> Inspect in RStudio?"}}