Paid vs Free Licensed Js Libraries

When implementing extended visualization libraries to make newer PI Vision Symbol, Should we be aware of the licensing payment for these libraries? I'm aware that Amchart, along with other libs like HighChart and React all allow open source download/reference but also have a licensing policy for production environments. Would it be OK if I only test some of my custom symbols on a demo environment and not a production one?