(not legal advice)
Transformative works are necessarily derivative, but that transformation allows for a legal claim to "fair use" regardless of making a derived work.
https://en.wikipedia.org/wiki/Transformative_use