What is an ideal pattern for reusable charts?

Hey there

I wanted to get feedback from others on this notebook. I’m curious how this pattern for reusable charts might be improved.

It seemed to me there might be a way to do this without having to pass as many arguments into the chart. Maybe by using immutability to render every chart in a loop but not having future changes in future iterations of the loop modify previously rendered charts.

2 Likes