Skip to content

Partial bundle for the treemap #4949

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

Closed
edwinmp opened this issue Jun 24, 2020 · 6 comments · Fixed by #5508
Closed

Partial bundle for the treemap #4949

edwinmp opened this issue Jun 24, 2020 · 6 comments · Fixed by #5508
Labels
feature something new
Milestone

Comments

@edwinmp
Copy link

edwinmp commented Jun 24, 2020

Not sure if it's a documentation issue, but there doesn't seem to be a partial bundle that supports the treemap

https://github.com/plotly/plotly.js/blob/master/dist/README.md#partial-bundles

@archmoj
Copy link
Contributor

archmoj commented Jun 24, 2020

It is in finance.

@edwinmp
Copy link
Author

edwinmp commented Jun 25, 2020

Great, thanks @archmoj

@edwinmp edwinmp closed this as completed Jun 25, 2020
@urlsangel
Copy link

Hi @archmoj

Thanks for the tip :-)

I've switched the module to https://github.com/plotly/plotly.js/blob/master/dist/README.md#plotlyjs-finance, but my test treemap isn't rendering, whereas it renders as expected using the full plotly-latest distribution.

Treemap rendered with finance module:

Screenshot 2020-06-25 at 09 12 25

Treemap rendered with plotly-latest:

Screenshot 2020-06-25 at 09 14 28

Here's the initial part of my data set, with the trace type set to treemap:

{
    "data": [
        {
            "meta": {
                "columnNames": {
                    "ids": "ID",
                    "labels": "Label",
                    "values": "Value",
                    "parents": "Parent"
                }
            },
            "mode": "markers",
            "name": "2015",
            "type": "treemap",
...

Do you know where I could find a working example of a treemap being rendered using the finance module so I could try to work out what's wrong?

Thanks!

@edwinmp edwinmp reopened this Jun 25, 2020
@archmoj
Copy link
Contributor

archmoj commented Jun 25, 2020

It is in finance.

Correction: there in no partial bundle for treemap & sunburst traces.

This issue is currently not on our roadmap in the coming months but we would happily accept a pull request if someone wants to implement it, or we would accept sponsorship to accelerate its development.

@urlsangel
Copy link

Thanks for the info @archmoj 👍😀

@archmoj
Copy link
Contributor

archmoj commented Feb 22, 2021

This would be addressed by #5508.

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

Successfully merging a pull request may close this issue.

3 participants