Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Pokedex

Public visualization

Viewing a saved revision (read-only)

08b25dc64ae54985a38ec6bb33cb9cfb

Pokedex

0 stars0🌍 Public
RRenato Camapum
Last edited May 26, 2023
Created on May 25, 2023

A Pokedex visualization uses a Sankey diagram to map Pokémon types to their legendary counterparts, showing which types lead to the most powerful creatures. The flow diagram connects type nodes like Water, Dragon, and Flying to specific Pokémon such as Kyogre, Rayquaza, and Lugia. Built with D3.js v3, the example implements a custom `d3.sankey` layout to calculate node positions and link depths, rendering the diagram as SVG with interactive hover effects on links. The data comes from a JSON file containing typed links and node values.

AI-generated description