tsne world
The visualization maps the 800 largest cities worldwide by computing pairwise geodesic distances and reducing them to two dimensions with t-SNE, producing a derived "world" where proximity reflects spatial similarity rather than actual geography. Each city appears as a colored dot, with size scaled by population and color assigned by country using `d3.scaleOrdinal`. The t-SNE algorithm runs iteratively within a `d3.forceSimulation`, stepping the model and interpolating positions toward the latest solution. Custom canvas rendering draws the animated nodes, while data loads from a local CSV via `d3.csv`.
AI-generated descriptionThe 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>