Skip to main content
100%

NY State Map 1 - working

✓ Published1🌍 Public
NNita
Last edited May 6, 2025
Created on May 6, 2025
Forked from Texas State Map

This interactive map of New York State displays all county boundaries with a blue sequential color scale and marks ten major cities with labeled dots. It uses D3.js v7 with TopoJSON to load US states and counties from the us-atlas CDN, filtering features for New York’s FIPS code. The code applies d3.geoMercator projection with fitSize, renders paths via d3.geoPath, and adds hover effects on counties with tooltips showing FIPS codes.

AI-generated description

New York State Map

This project displays an interactive map of New York State with county boundaries and major cities.

Features

  • Visualization of all New York State counties
  • Major cities marked with labels
  • Interactive elements with hover effects on counties
  • Responsive design that works on different screen sizes

Implementation Details

The map is built using:

  • D3.js for data visualization
  • TopoJSON for geographical data
  • Modern JavaScript techniques

Usage

Simply open the index.html file in a web browser to view the map.

MIT Licensed

Similar vizzes