Export Code

Fork of Texas State Map

Nita

Last edited Mar 26, 2025
Created on Mar 26, 2025
Forked from Texas State Map

Texas Map with ZIP Codes

This interactive visualization displays a map of Texas with both county boundaries and ZIP code information.

Features

  • Interactive map showing all Texas counties
  • ZIP code boundaries overlaid on the map
  • Major cities highlighted with labels
  • Hover over counties or ZIP codes to see more information
  • Upload custom ZIP code data if needed

Usage

  1. Open the index.html file in a web browser
  2. Hover over counties to see their FIPS codes
  3. Hover over ZIP codes to see their code and associated city/region
  4. To upload your own ZIP code data, click the button at the bottom and select a GeoJSON or TopoJSON file

Data Sources

  • Counties and state boundaries: US Census Bureau (via D3's us-atlas)
  • ZIP codes: ArcGIS REST service with Texas ZIP code boundaries
  • Custom ZIP code data can be uploaded in GeoJSON or TopoJSON format

Technical Details

This visualization uses:

  • D3.js for data visualization and mapping
  • TopoJSON for efficient map geometry representation
  • File API for custom data uploads
  • Mercator projection optimized for Texas

Browser Compatibility

This map works best in modern browsers including:

  • Chrome (recommended)
  • Firefox
  • Edge
  • Safari
MIT Licensed