Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

422
Visualizações
why d3-3d.js function are not recognized?

i try to use D3-3d to represent 3d graph.

i first tried to use some example to understand how it works but when a try to copy paste this one https://bl.ocks.org/niekes/ff4d3c8497d8436d4d8fdb9f0121d12d or this one https://bl.ocks.org/niekes/5e1254ae778e2854f0079350a0376528 i get the error : Uncaught TypeError: d3._3d().scale(...).origin(...).rotateX(...).rotateY(...).primitiveType is not a function

i changed the way D3 and 3d are imported and try on chrome and Firefox and it keep being here.

the only example I manage to launch is this one https://bl.ocks.org/niekes/1c15016ae5b5f11508f92852057136b5

i don't know a lot about D3 and JavaScript so I am blocked.

The code is the same than in the examples and this is how a tried to import D3 and d3-3djs.


<!DOCTYPE html>
<meta charset="utf-8">
<script src="https://unpkg.com/d3-3d/build/d3-3d.min.js"></script>
<script src="https://d3js.org/d3.v4.min.js"></script>

about 4 years ago · Juan Pablo Isaza
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda