Skip to main content
100%

Texas State Map

✓ Published2🌍 Public
NNita
Last edited Mar 26, 2025
Created on Mar 26, 2025
Forked from HTML Starter

This interactive D3.js map displays the state of Texas with its county boundaries, major city markers, and labels. Built with D3 v7 and TopoJSON, it uses d3.geoMercator and d3.geoPath to project geographic data from the US-Atlas TopoJSON files. The map renders as SVG, with county paths colored sequentially using d3.scaleSequential and d3.interpolateGreens, while hover effects and tooltips reveal county FIPS codes.

AI-generated description

Texas State Map

This is an interactive map of Texas created using D3.js.

Features

  • Displays Texas state boundary
  • Shows county boundaries with different color shades
  • Highlights major cities with markers and labels
  • Interactive tooltips show county information
  • Responsive design that works on various screen sizes

Technologies Used

  • HTML5
  • CSS3
  • JavaScript
  • D3.js (Data-Driven Documents)
  • TopoJSON for geographical data

Usage

Open the index.html file in a modern web browser to view the map.

Data Sources

  • US-Atlas TopoJSON files for state and county boundaries
MIT Licensed

Similar vizzes