What’s the Best Way to Add Charts to My Elm App?

Hello

I am new to Elm and working on a small app where I’d like to display some charts like line graphs / bar charts to visualize data. :innocent: I am curious what packages or tools Elm users recommend for adding visuals without too much hassle.:upside_down_face:

I have come across libraries like elm-charts, which seems pretty easy to use & elm-visualization; which seems more flexible once I need something custom elm-charts. org Elm Radio Pod cast. I would love to hear what experience others have had what is great for beginners & what is better when you want more control?:thinking:

Also kind of on a different topic I recently learned what is dax in power bi and wondered if understanding that kind of data logic could help me think better about data and charts in Elm, too. :slightly_smiling_face: Any advice on that crossover would be welcome!

Thank you !!:slightly_smiling_face:

I default to elm-charts and have used it in a bunch of applications. It’s very pleasant to use and makes it very easy customise the colours and to add interactive elements. I’ve also used elm-vegalite, which is very powerful, but it was a headache to learn. I used it to make the visualisation at the top of this page: https://pragmaticproteindesign.bio.ed.ac.uk/pda/ (the source code is here, if you’re interested).

2 Likes

I’m not sure about the best way to add charts, but there are 42+ packages in data visualization part of Elm catalog.

elm-charts.org is a pleasure to use!

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.