what is a good lib for generating svg line graphs, just something simple for doing a static chart of price over time?
Thanks @meow , I should probably be more specific; I want to put graphs/charts in CLJS. It doesn't need to be SVGs, and it would be best if charts were rendered on client-side. dali
seems a little "low level" for me, is there anything with better formatting for simple line graphs (in CLJS)?
And I'm using re-agent, if that changes things since it's a react
wrapper.
I'm not sure but hopefully others will pitch in with suggestions. Be patient. They will be here to help. :simple_smile:
josh.freckleton: I’d just render svg tags in <svg> tag using reagent
it’s almost like d3
alternatively
since this is cljs, you could just use d3
If I had 10-100 charts, would I suffer hugely on performance by using dynamic graphs, instead of static images?
I don’t know, make one chart as a component, render 100 of them and check it out
I’d guess it shouldn’t break things unless you have 1000s of svg tags in each graph and change them all the time
Sweet, and I know D3 has some DOM manipulation stuff, will that get along with React?
sure... *disclaimer: never done that myself
Hm, I'll give it a go, thanks @nooga :simple_smile:
👍