In my intership I used the D3.js
framework to visualize data, now at the end of the internship I'm going to write a documentation about the project as a whole. Only few people in my team have been involved in the project. None of them were involved in the JavaScript writing. As far as I know not many know how to write (good) JavaScript. Since I was fairly new to JS, I probably didn't write the best code and I was sometimes rather confused by the D3.js
approach to join data.
Should I try and explain how the data binding in D3.js
works (Eventhough I might get it wrong) or should I just refer to the official documentation?
Is there any benefit if I try to explain it? E.g. someone who knows JS better than me sees why I did something the way I did it and can fix / improve it?
I'm not talking about inline documentation. It is an external documentation, that should explain all the components, technologies, etc. Example: How does the integration of Java, JavaFX and JavaScript work?