I want to create a toy project that shows a chart of temperature over time and updates every 5 seconds. I feel LiveView is perfect for that use case because there will always be only one piece of data appended on the right side of the chart, and one piece of data deleted on the left.
However, most JS libraries I tried don’t do it this way. They need to take all data and call
chart.update rerendering the entire chart. I also need to bypass LiveView with a channel to call that update function.
I wondered if you know any solutions that could use the power of LiveView in full
Maybe you had experience with charts using SVG?
Or had a chart with only HTML divs and CSS?