پرش به مطلب اصلی

🇺🇸 United States Interactive Map

Experience the vast geography of the United States through our highly optimized, interactive SVG map. Perfect for dashboards, data visualization, and regional targeting across all 50 states.

🌍 Country Overview

The United States of America is a vast country located in North America, featuring an incredibly diverse landscape ranging from the Atlantic and Pacific coastlines to the towering Rocky Mountains and the expansive Great Plains.

🎨 Design & Flag Inspiration

The visual identity of this specific map pack is inspired by the National Flag of the United States, which features red, white, and blue.

  • Hover State: We utilize a vibrant translucent red (rgba(179, 25, 46, 0.35)) to represent the red stripes of the flag, symbolizing hardiness and valor.
  • Borders: Rendered in Deep Navy (#1e293b) to ensure maximum contrast and a modern, premium aesthetic.

🗺️ Interactive Demo

Hover over the states to see the red highlight and tooltips. Click any state to see how easily you can capture the region's data code.

svg-world-maps / usa.svg
MassachusettsMinnesotaMontanaNorth DakotaHawaiiIdahoWashingtonArizonaCaliforniaColoradoNevadaNew MexicoOregonUtahWyomingArkansasIowaKansasMissouriNebraskaOklahomaSouth DakotaLouisianaTexasConnecticutNew HampshireRhode IslandVermontAlabamaFloridaGeorgiaMississippiSouth CarolinaIllinoisIndianaKentuckyNorth CarolinaOhioTennesseeVirginiaWisconsinWest VirginiaDelawareDistrict of ColumbiaMarylandNew JerseyNew YorkPennsylvaniaMaineMichiganAlaska
How it works

Every <path> element in the generated SVG automatically receives data-code (e.g., "USCA") and data-name (e.g., "California"). You can listen for clicks on the parent container to instantly build drill-down experiences, filtering, or regional detail views.


💻 How to Render It

Implementing the Argentina map in your project takes just a few lines of code. Since every map is generated as a plain SVG string, the exact same approach works in React, Vue, Angular, Svelte, and vanilla JavaScript.

One pattern, every framework

Generate the SVG with createMap(), inject it into a container, and listen for clicks using the automatic data-code and data-name attributes.

👉 See the full rendering guide for your framework →