Is D3JS compatible with Wordpress?


#1

Hello. This is my first WordPress site and first hosting experience. I’m not new to coding but I am new to php. I will using my site primarily as a professional portfolio and I’d like to incorporate some data visualization using D3; see www.d3js.org for examples. How would I incorporate this? Is WordPress the correct site format or should I be strictly in HTML? Thank you for any assistance or time spent on this. I sincerely appreciate the assistance.


#2

That’s just a JavaScript library, so if you do go the WordPress route, be sure to create a child theme and then properly enqueue the JS file. Complete instructions are in the WordPress Codex.


#3

Great. Thank you.