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

92
Visualizações
D3 Line Curve Expectation

I'm implementing something from the design team which is involving drawing charts in specific ways.

I'm currently using Recharts to lift the bulk of the work in terms of displaying data. But it integrates directly with D3 in the sense that it accepts D3-driven parameters in most of its components.

Currently, I am trying to mess with the curves of a line graph to achieve the following result:

Expected outcome

I've tried several curve types, and the closest I got was with a curveBumpX curve.

  <Line
    key={`bar-${index}`}
    dataKey={key}
    stroke={computedColor}
    type={curveBumpX}  // <-- curveBumpX from d3 package
    dot={false}
    strokeWidth={2}
   />

Although close, the result is not the expected from the design team. Here's what I've got currently:

Current outcome

Is there a way I can tension up the lines at the level change?

Thank you.

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