企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
## **使用示例** > 参考文档:[https://d3js.org/](https://d3js.org/) > 版本:v5.12.0 > 代码案例来自:[https://d3js.org/](https://d3js.org/) ``` <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>d3.js</title> <script src="../original/Every.js" type="text/javascript" charset="utf-8"></script> <script src="../original/Require.js" type="text/javascript" charset="utf-8"></script> </head> <body> <p> 测试D3 </p> <script type="text/javascript"> Every.use(['d3'],function(d3){ var paragraphs = document.getElementsByTagName("p"); for (var i = 0; i < paragraphs.length; i++) { var paragraph = paragraphs.item(i); paragraph.style.setProperty("color", "blue", null); } }); </script> </body> </html> ```