Nanaimo: if the sea level rose by 4 meters
A map of Nanaimo, British Columbia, shows elevation contour lines, with lines below five meters highlighted in steel blue to indicate areas that would flood under a four-meter sea level rise. The visualization combines D3.js with the Leaflet mapping library to overlay an SVG of contour data, sourced from the city's LIDAR survey, onto an OpenStreetMap base layer. D3's geo projection and path functions render the TopoJSON contours, with color interpolation based on elevation values.
AI-generated descriptionThis map is more of an exercise in using d3 with leaflet and plotting contour lines (obtained from the city's LIDAR data). The blue lines represent contours less than 5 m. Good thing the sea level rise shouldn't be this severe in the next 100 years or so. Though Nanaimo is hilly so there wouldn't be that much flooding.