-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Issues with @nivo/treemap example #789
Comments
Apparently the structure is not supposed to be passed with the first part of the json object in the example |
can you explain this a bit more? what is the correct data struc to use? do you have link to download this? |
@totaland The website shows the data with a top level |
Do you have an example in codesandbox? |
In the website examples, the 'data' object passed simply includes a 'root' key to start with:
instead, the data object should just launch straight into the first parent, without the need for the 'root' key, so the website example should read:
this is the same data object as the 'Bubble' - so if you look at that example, it is correct. |
Thank you for this info.
|
I'd love to see this typo get fixed on the website. I just spent a substantial amount of time trying to figure out what was wrong before coming across this. |
This issue has been automatically marked as stale. If this issue is still affecting you, please leave any comment (for example, "bump"), and we'll keep it open. We are sorry that we haven't been able to prioritize it yet. If you have any new additional information, please include it with your comment! |
This code which is a reproduction of the webpage example is not rendering the treemap and no error is being displayed. I don't really know what is missing. I'm passing the example root from the webpage
The text was updated successfully, but these errors were encountered: