Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

94
Vistas
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 la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda