-
Notifications
You must be signed in to change notification settings - Fork 211
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Polyline with multiple attributes per axis #304
Comments
This is a great idea. It's complex because it requires rendering a nested data structure. I suggest implementing this as plain D3 code. There is much less overall complexity in some of the examples on bl.ocks.org than in d3.parcoords.js. Two possible starting places: |
And great mockup by the way! It's very helpful to have a visual of the ideal behavior |
I guess the common workaround is to have three lines for the car (that's probably how you created the mockup?). |
Thanks for the quick responses! However, this might cause some undesired side-effects in some cases (e.g. when using density to show number of lines; by changing the rank of the attribute (the more lines go through it, the higher it is ranked); artificially changing the average axis value as in #282 ). What would be nicer is indeed a nested structure, for example interpreting multiple values for a given column in the .csv, if separated by a defined delimiter such as "/". A bit out of reach for now, but thanks for pointing out the bl.ocks codes which are indeed probably a better place to start. |
Is there any way for a polyline to "branch" off to multiple attributes on an axis?
This could be useful in some cases, in particular for nominal type axes.
For example, here is a mock-up using the cars data set.
In this example, each car could be produced in several locations, and the corresponding polyline would be displayed something like this:
I'm fairly new to D3 and JS, so I'm not sure how complex this would be to implement (or if it would be in fact useful).
The text was updated successfully, but these errors were encountered: