Skip to main content
100%

tsne world

✓ Published0🌍 Public
PPhilippe Rivière
Last edited Oct 31, 2018
Created on Dec 20, 2016

This visualization uses t-SNE to map the 800 largest cities by population, computing geodesic distances between all pairs and projecting them into a 2D layout that reveals spatial clusters. Each city appears as a colored dot, sized by population and colored by country, rendered on a canvas. The code relies on the `tsnejs` library for dimensionality reduction, `d3.forceSimulation` to animate the solution, and D3 scales for mapping coordinates and sizes. Data comes from a CSV of city populations for 2015.

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>.)

mit Licensed

Similar vizzes