Skip to main content
100%

Norway Map ICE8

✓ Published0🌍 Public
Nnavyasrimeka9@gmail.com
Last edited Apr 13, 2023
Created on Apr 13, 2023
Forked from Europe Map ICE8

This example displays Norway by filtering the "Norway" feature from a Europe GeoJSON dataset and rendering it as a green map with a yellow stroke on an SVG canvas. It sets up a 600 by 500 pixel SVG and uses the `d3.geoMercator` projection with a custom center, scale, and translation, alongside `d3.geoPath` to generate the path data. The code fetches the remote GeoJSON via `d3.json`, selects the matching feature, and appends a path element for each result. It uses React, D3 v5, and topojson libraries in an HTML page.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes