Biodiesel is not a good option imo the NOx emmisions are generally significantly higher. Also most of the oil thats used to create biodiesel is not sourced responsibly. The production procces also still creates toxic waste although usually less than normal diesel.
Source: i just wrote a report on this if you’re really interested. i can dig through my sources lmk