d3js versions code example
Example 1: d3 script
<script src="https://d3js.org/d3.v6.min.js"></script>
Example 2: include d3
<script src="https://d3js.org/d3.v5.min.js"></script>
<script src="https://d3js.org/d3.v6.min.js"></script>
<script src="https://d3js.org/d3.v5.min.js"></script>