Skip to main content
100%

leaflet - Map on D3.js points

✓ Published0🌍 Public
HHirosaji
Last edited Feb 19, 2020
Created on Jul 21, 2018

This example shows a Leaflet map displaying Japanese land price survey points as red circles over a tile-based base map, with the points positioned using geographic coordinates. The visualization combines Leaflet’s mapping and tile-layer API with D3.js to render the data: D3 is used to select the map’s SVG layer, append a group, and create circle elements from a GeoJSON file. The circles’ positions are updated via `map.latLngToLayerPoint`, which converts latitude and longitude into screen coordinates during map view changes. The example uses leaflet 0.7.7 and D3.v3, loading data from `landprice.geojson`.

AI-generated description
mit Licensed

Similar vizzes