Skip to main content
100%

Cheap map

✓ Published0🌍 Public
NNilla
Last edited Mar 28, 2019
Created on Mar 28, 2019

This example displays a geographic map of Massachusetts towns, colored light green with black borders, that turns red on hover. The visualization is built using D3 version 5 and renders as an SVG element. It loads GeoJSON data from a remote GitHub gist containing town boundaries and projects it using D3’s map projections, specifically `geoConicConformal` and `geoAlbersUsa`. The code defines SVG classes for styling the map’s countries and a hover effect, though the actual rendering of the map geometry is not yet implemented in the provided JavaScript snippet.

AI-generated description
MIT Licensed

Similar vizzes