Giter VIP home page Giter VIP logo

Comments (4)

sada1993 avatar sada1993 commented on May 19, 2024

Hi @Nicbecoz I have forked a version of this repo and removed the grey background and the number. Check it out. I did it for a personal use case, however, yes it would be good for us to put a parameter which controls the bar.

https://github.com/sada1993/d3treeR

from d3treer.

Nicbecoz avatar Nicbecoz commented on May 19, 2024

hi @sada1993 Thank you for your response and fork! The number is gone and I see that you have added a "click to go back function" + also tooltip at the bottom of the plot on hover. Nice!

I just have a small problem.
image
When I run, the legend bar now overlaps the main plot.
image
Also the grey bar is still there.

from d3treer.

sada1993 avatar sada1993 commented on May 19, 2024

I could take a look at this soon. Unfortunately, I personally haven't used type = manual, been working with type = index. Could you please provide a complete minimal reproducible example. If the above images are from Shiny, include the shiny code.

from d3treer.

Nicbecoz avatar Nicbecoz commented on May 19, 2024

Thanks.
I am just using the same code as mentioned in my initial post. I am running it in rmarkdown.

library('d3treeR')
data(business)
business$employees.growth <- business$employees - business$employees.prev
d3tree3(
treemap(business,
index=c("NACE1", "NACE2"),
vSize="employees",
vColor="employees.growth",
type="manual",
palette="-RdGy",
range=c(-30000,30000))
, rootname="Fictitious Business Data"
)

from d3treer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.