Skip to content
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

stratify: how to stratify duplicated data? #34

Closed
AppleXiao1995 opened this issue Apr 21, 2016 · 1 comment
Closed

stratify: how to stratify duplicated data? #34

AppleXiao1995 opened this issue Apr 21, 2016 · 1 comment

Comments

@AppleXiao1995
Copy link

d3.stratify() cannot parse csv file with duplicated data.
However, I want to represent a structure like this:
image
my csv file looks like this:

id
a,
a.b,
a.b

When I use stratify(), it returns "duplicate: a.b". How can I achieve it?

@AppleXiao1995
Copy link
Author

Thank you for your reply! However, I mean not only the leaf situation. In a situation like this:
image

csv:

id
a,
a.b,
a.b.c,
a.b,
a.b.d

The code cannot work and the error is "ambiguous".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant