I have downloaded the
d3.zip file from the link above, and have attempted to compress both
d3.min.js with a
style.css file provided by trailhead apps git repo for the Use Third Party JS Libraries documentation. And I took the compressed file and uploaded as a Static Resource.
After figuring out that you have to compress the files together, not compress a folder containing the files, in order for the Web Component to be able to load the resources properly, I was finally able to get around a 404 error when attempting to load the needed Script files I want to use (d3.js or d3.min.js).
However, now for every single possible function within this library, I get the error
function is not defined. It's as if they JS file was uploaded fine as a resource, and I was able to load the resource fine, but when the resource is loaded, nothing is in it....
Any idea on why salesforce would be able to load the needed resource, but not be able to use the resources functions???