Fork of Texas State Map
✓ Published1🌍 Public
A Texas state map displays county boundaries colored with a sequential green scale plus overlaid ZIP code outlines. Hovering reveals county FIPS codes and ZIP code names. The visualization uses d3.geoMercator, d3.geoPath, and topojson to render US Census Bureau state and county data, with ZIP codes from an ArcGIS REST service. A file input button allows uploading custom GeoJSON or TopoJSON data.
AI-generated descriptionTexas 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
- Open the
index.htmlfile in a web browser - Hover over counties to see their FIPS codes
- Hover over ZIP codes to see their code and associated city/region
- 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