Skip to main content
100%

tsne world with labels

✓ Published0🌍 Public
MMNoichl
Last edited Feb 8, 2018
Created on Feb 8, 2018

A map of the world’s 800 largest cities, repositioned by t-SNE so that geographic proximity becomes visual proximity based on geodesic distances. Each city appears as a colored dot sized by population, with its name labeled in black text. The visualization runs on a Canvas, using `d3.forceSimulation` to integrate the t-SNE step and a collision force, while `d3.scaleOrdinal` assigns country colors and `d3.geoDistance` computes the pairwise distances from the cities.csv dataset.

AI-generated description

The 800 largest cities in the world. Compute all geodesic distances between them, feed that to t-sne et voilà.

Original work by Philippe Rivière for Visionscarto.net. Comments and variants very welcome!

(Research block at <a href='http://bl.ocks.org/Fil/972e78a78e3f3ceb81051cc649460bbf'>tsne world</a>.)

forked from <a href='http://bl.ocks.org/Fil/'>Fil</a>'s block: <a href='http://bl.ocks.org/Fil/b07d09162377827f1b3e266c43de6d2a'>tsne world</a>

mit Licensed

Similar vizzes