Skip to main content
100%

Untitled

✓ Published0🌍 Public
NNigel
Last edited Dec 15, 2022
Created on Dec 15, 2022
Forked from HTML Starter

This example demonstrates a minimal geographic map rendered as an SVG, showing a single red point at the center of a Mercator projection. The visualization uses d3.geoMercator to project coordinates, d3.geoPath to generate the SVG path for the point, and appends the resulting shape to an SVG element created with d3.select. The code sets the projection’s center, scale, and translation to position the map, and styles the point with a red fill and black stroke, providing a simple foundation for geographic data display.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes