Skip to main content
Public

Share visualization

Loading preview…

Cheap map

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

Cheap map

0
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

Comments

Sign in to join the discussion.

MIT Licensed