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

581
Vistas
Sorting Sankey chart's source & destination nodes alphabetically

I am creating Sankey chart using Highcharts where I want to sort my source and destination labels alphabetically. In this image you can see labels are randomly assigned as per data values. I want to sort those labels for both source and destination. So in second column I want to see nodes in below order,

England -> France -> Portugal -> Spain

How can sort all nodes to get such result ?

Thank you! enter image description here

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

There is no special option for sorting by name in a sankey type diagram, the data visualization is based on the flow composition algorithm.

You can easily post-sort by rearranging the data in the correct order according to the keys.to.

data: [
  ['Canada', 'England', 1],
  ['Canada', 'France', 5],
  ['Canada', 'Portugal', 1],
  ['Brazil', 'Portugal', 5],
  ['Brazil', 'France', 1],
  ['Brazil', 'Spain', 1],
  ['Brazil', 'England', 1],
],

https://jsfiddle.net/BlackLabel/f5L3ajy8/2/

about 4 years ago · Juan Pablo Isaza Denunciar
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