Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

93
Views
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
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!