datavis

2016-02-11T19:38:19.000180Z

what is a good lib for generating svg line graphs, just something simple for doing a static chart of price over time?

2016-02-11T20:01:56.000183Z

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)?

2016-02-11T20:03:01.000185Z

And I'm using re-agent, if that changes things since it's a react wrapper.

meow 2016-02-11T20:03:23.000187Z

I'm not sure but hopefully others will pitch in with suggestions. Be patient. They will be here to help. :simple_smile:

2016-02-11T20:08:56.000188Z

josh.freckleton: I’d just render svg tags in <svg> tag using reagent

2016-02-11T20:09:02.000189Z

it’s almost like d3

2016-02-11T20:09:11.000190Z

alternatively

2016-02-11T20:09:22.000191Z

since this is cljs, you could just use d3

2016-02-11T20:10:46.000192Z

If I had 10-100 charts, would I suffer hugely on performance by using dynamic graphs, instead of static images?

2016-02-11T20:11:26.000193Z

I don’t know, make one chart as a component, render 100 of them and check it out

2016-02-11T20:12:37.000194Z

I’d guess it shouldn’t break things unless you have 1000s of svg tags in each graph and change them all the time

2016-02-11T20:13:14.000195Z

Sweet, and I know D3 has some DOM manipulation stuff, will that get along with React?

2016-02-11T20:14:02.000196Z

sure... *disclaimer: never done that myself

2016-02-11T20:14:38.000197Z

Hm, I'll give it a go, thanks @nooga :simple_smile:

2016-02-11T20:32:54.000198Z

👍