There is nothing more satisfying than making a change and seeing that change propagated through somewhere immediately. Lately, I have been experim...
For further actions, you may consider blocking this person and/or reporting abuse
I make charts with d3 in Vue almost every day and here is some of my best practices:
renderLine
andupdateLine
methods, you just write therender
function and deal with reactive data and shadow DOMI would write an article about d3, Vue and jsx, but I have a little experience in writing and bad english
Definitely agree on the recommendation to pull in only those dependent modules.
Regarding JSX I assume that is easier / harder based on your familiarity with the syntax.
You haven't to use JSX, you can use vue templates, but JSX is a little more flexible. The idea is to use
Instead of
I think html/svg is more readable
Oh and of course some features are simpler with d3 selections - animations and transition for example
Per your suggestion I updated the example to just pull the dependent d3 files.
This is really cool! Glad to see more data visualization options coming into vue!
Ideally I think this is something that needs to be build up by the community. If folks want to use this component as a framework for building that out I am happy to coordinate it.