Hello i am having trouble using d3-hexgrid because i get a message "d3.select is not a function" when i try to use it. I am using this version of d3:
<script src="https://d3js.org/d3.v7.min.js"></script>
and when i put it like this:
<script src="https://d3js.org/d3.v7.min.js"></script>
<script src="https://unpkg.com/d3-hexgrid"></script>
i get this error:
Uncaught TypeError: d3.select is not a function
at index_a.html:40:24
because of this line:
const svg = d3.select("#map");
Can you help?
Hello i am having trouble using d3-hexgrid because i get a message "d3.select is not a function" when i try to use it. I am using this version of d3:
<script src="https://d3js.org/d3.v7.min.js"></script>and when i put it like this:
<script src="https://d3js.org/d3.v7.min.js"></script> <script src="https://unpkg.com/d3-hexgrid"></script>i get this error:
Uncaught TypeError: d3.select is not a function
at index_a.html:40:24
because of this line:
const svg = d3.select("#map");
Can you help?