Thank you for your submission, an automated scan of your plugin code's revealed the following issues:

### Required

[[1](https://github.com/martwozniak/visualizer-d3/blob/eebd276d0694d80ea28624134e1555b59c846f7e/main.ts#L89)][[2](https://github.com/martwozniak/visualizer-d3/blob/eebd276d0694d80ea28624134e1555b59c846f7e/main.ts#L90)][[3](https://github.com/martwozniak/visualizer-d3/blob/eebd276d0694d80ea28624134e1555b59c846f7e/main.ts#L91)][[4](https://github.com/martwozniak/visualizer-d3/blob/eebd276d0694d80ea28624134e1555b59c846f7e/main.ts#L95)][[5](https://github.com/martwozniak/visualizer-d3/blob/eebd276d0694d80ea28624134e1555b59c846f7e/main.ts#L96)][[6](https://github.com/martwozniak/visualizer-d3/blob/eebd276d0694d80ea28624134e1555b59c846f7e/main.ts#L97)][[7](https://github.com/martwozniak/visualizer-d3/blob/eebd276d0694d80ea28624134e1555b59c846f7e/main.ts#L98)][[8](https://github.com/martwozniak/visualizer-d3/blob/eebd276d0694d80ea28624134e1555b59c846f7e/main.ts#L99)][[9](https://github.com/martwozniak/visualizer-d3/blob/eebd276d0694d80ea28624134e1555b59c846f7e/main.ts#L100)][[10](https://github.com/martwozniak/visualizer-d3/blob/eebd276d0694d80ea28624134e1555b59c846f7e/main.ts#L106)][[11](https://github.com/martwozniak/visualizer-d3/blob/eebd276d0694d80ea28624134e1555b59c846f7e/main.ts#L107)][[12](https://github.com/martwozniak/visualizer-d3/blob/eebd276d0694d80ea28624134e1555b59c846f7e/main.ts#L108)][[13](https://github.com/martwozniak/visualizer-d3/blob/eebd276d0694d80ea28624134e1555b59c846f7e/main.ts#L109)][[14](https://github.com/martwozniak/visualizer-d3/blob/eebd276d0694d80ea28624134e1555b59c846f7e/main.ts#L110)][[15](https://github.com/martwozniak/visualizer-d3/blob/eebd276d0694d80ea28624134e1555b59c846f7e/main.ts#L111)][[16](https://github.com/martwozniak/visualizer-d3/blob/eebd276d0694d80ea28624134e1555b59c846f7e/main.ts#L112)][[17](https://github.com/martwozniak/visualizer-d3/blob/eebd276d0694d80ea28624134e1555b59c846f7e/main.ts#L113)][[18](https://github.com/martwozniak/visualizer-d3/blob/eebd276d0694d80ea28624134e1555b59c846f7e/main.ts#L116)][[19](https://github.com/martwozniak/visualizer-d3/blob/eebd276d0694d80ea28624134e1555b59c846f7e/main.ts#L119)][[20](https://github.com/martwozniak/visualizer-d3/blob/eebd276d0694d80ea28624134e1555b59c846f7e/main.ts#L124)][[21](https://github.com/martwozniak/visualizer-d3/blob/eebd276d0694d80ea28624134e1555b59c846f7e/main.ts#L127)][[22](https://github.com/martwozniak/visualizer-d3/blob/eebd276d0694d80ea28624134e1555b59c846f7e/main.ts#L135)][[23](https://github.com/martwozniak/visualizer-d3/blob/eebd276d0694d80ea28624134e1555b59c846f7e/main.ts#L136)][[24](https://github.com/martwozniak/visualizer-d3/blob/eebd276d0694d80ea28624134e1555b59c846f7e/main.ts#L137)][[25](https://github.com/martwozniak/visualizer-d3/blob/eebd276d0694d80ea28624134e1555b59c846f7e/main.ts#L138)][[26](https://github.com/martwozniak/visualizer-d3/blob/eebd276d0694d80ea28624134e1555b59c846f7e/main.ts#L139)][[27](https://github.com/martwozniak/visualizer-d3/blob/eebd276d0694d80ea28624134e1555b59c846f7e/main.ts#L140)][[28](https://github.com/martwozniak/visualizer-d3/blob/eebd276d0694d80ea28624134e1555b59c846f7e/main.ts#L141)][[29](https://github.com/martwozniak/visualizer-d3/blob/eebd276d0694d80ea28624134e1555b59c846f7e/main.ts#L142)][[30](https://github.com/martwozniak/visualizer-d3/blob/eebd276d0694d80ea28624134e1555b59c846f7e/main.ts#L145)] and more :You should avoid assigning styles via JavaScript or in HTML and instead move all these styles into CSS so that they are more easily adaptable by themes and snippets.


[[1](https://github.com/martwozniak/visualizer-d3/blob/eebd276d0694d80ea28624134e1555b59c846f7e/main.ts#L104)][[2](https://github.com/martwozniak/visualizer-d3/blob/eebd276d0694d80ea28624134e1555b59c846f7e/main.ts#L133)][[3](https://github.com/martwozniak/visualizer-d3/blob/eebd276d0694d80ea28624134e1555b59c846f7e/main.ts#L3238)][[4](https://github.com/martwozniak/visualizer-d3/blob/eebd276d0694d80ea28624134e1555b59c846f7e/main.ts#L3322)][[5](https://github.com/martwozniak/visualizer-d3/blob/eebd276d0694d80ea28624134e1555b59c846f7e/main.ts#L3339)][[6](https://github.com/martwozniak/visualizer-d3/blob/eebd276d0694d80ea28624134e1555b59c846f7e/main.ts#L3384)][[7](https://github.com/martwozniak/visualizer-d3/blob/eebd276d0694d80ea28624134e1555b59c846f7e/main.ts#L3391)][[8](https://github.com/martwozniak/visualizer-d3/blob/eebd276d0694d80ea28624134e1555b59c846f7e/main.ts#L3417)][[9](https://github.com/martwozniak/visualizer-d3/blob/eebd276d0694d80ea28624134e1555b59c846f7e/main.ts#L3425)][[10](https://github.com/martwozniak/visualizer-d3/blob/eebd276d0694d80ea28624134e1555b59c846f7e/main.ts#L3654)]:Using `innerHTML`, `outerHTML` or similar API's is a security risk. Instead, use the DOM API or the Obsidian helper functions: <https://docs.obsidian.md/Plugins/User+interface/HTML+elements>



---

### Optional

[[1](https://github.com/martwozniak/visualizer-d3/blob/eebd276d0694d80ea28624134e1555b59c846f7e/main.ts#L205)][[2](https://github.com/martwozniak/visualizer-d3/blob/eebd276d0694d80ea28624134e1555b59c846f7e/main.ts#L216)][[3](https://github.com/martwozniak/visualizer-d3/blob/eebd276d0694d80ea28624134e1555b59c846f7e/main.ts#L227)][[4](https://github.com/martwozniak/visualizer-d3/blob/eebd276d0694d80ea28624134e1555b59c846f7e/main.ts#L3470)]:Casting to `any` should be avoided as much as possible.



---



Do <b>NOT</b> open a new PR for re-validation.
Once you have pushed all of the required changes to your repo, the bot will update the labels on this PR within 6 hours.
If you think some of the required changes are incorrect, please comment with `/skip` and the reason why you think the results are incorrect.