Check my widget, the D3 Gauge Chart, It holds the same D3 version (v4.13) Mendix uses:
https://appstore.home.mendix.com/link/app/8677/
The TechTammina one, Ronald mentions, uses an older library which will conflict with the version Mendix uses. See for instance:
https://forum.mendix.com/link/questions/92461