diff --git a/packages/stats/app/src/routes/[lab]/[model].tsx b/packages/stats/app/src/routes/[lab]/[model].tsx index 95fbd30c0..75d6e6650 100644 --- a/packages/stats/app/src/routes/[lab]/[model].tsx +++ b/packages/stats/app/src/routes/[lab]/[model].tsx @@ -5,7 +5,7 @@ import { geoEquirectangular, geoPath } from "d3-geo" import { scaleSqrt } from "d3-scale" import countryCodesSource from "i18n-iso-countries/codes.json?raw" import { feature, mesh } from "topojson-client" -import countriesTopologySource from "world-atlas/countries-110m.json?raw" +import countriesTopologySource from "world-atlas/countries-50m.json?raw" import { getStatsModelData, type CountryEntry, @@ -89,6 +89,7 @@ const worldPath = geoPath(worldProjection) const worldCountryPaths = worldCountries.features.map((country) => ({ id: String(country.id ?? "").padStart(3, "0"), path: worldPath(country) ?? "", + marker: geoCountryMarker(country), })) const worldBorderPath = worldPath(mesh(worldTopology, worldCountryGeometries, (a, b) => a !== b)) ?? "" @@ -587,6 +588,7 @@ function GeoWorldMap(props: { return ( + + + {(country) => { + const entry = () => props.countryById.get(country.id) + return ( + + {(marker) => ( + + ) + }} + +