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

113
Views
Agregue un círculo al lado de la ruta de svg usando D3.js

Tengo una imagen SVG y quiero adjuntar círculos junto a las rutas con id attach .

Aquí está mi código:

 const svg = d3.select('#svgImage').attr('width', 500).attr('height', 500) svg .select('#attach') .append('svg:circle') .attr('cx', 100) .attr('cy', 100) .attr('r', 500) .style('fill', '#69b3a2') .attr('stroke', 'black') .attr('stroke-width', 2)

Problema: el círculo se agrega como elemento secundario de la ruta y, si lo agrego manualmente junto a la ruta, se muestra al final de la imagen SVG.

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!