us_state_capitals

U.S. state capitals and capitol building locations

Geographical coordinates and names of U.S. state capitals, transformed using scripts/us-state-capitals.py. Includes latitude, longitude, state name, and capital city name for all 50 U.S. states. Cities are represented as point locations of their capitol buildings using coordinates in the WGS84 geographic coordinate system.

According to USGS

"Map services and data downloaded from The National Map are free and in the public domain. There are no restrictions; however, we request that the following acknowledgment statement of the originating agency be included in products and data derived from our map services when citing, copying, or reprinting: Map services and data available from U.S. Geological Survey, National Geospatial Program."

JSON 50 rows 4 fields 4.0 KB 2 gallery examples 2 examples

Fields

FieldTypeDistributionSummaryMissing
lonAdd a description for lon number -157.9 – -69.78 · mean -93.47 Missing 0
latAdd a description for lat number 21.31 – 58.3 · mean 39.41 Missing 0
stateAdd a description for state string 50 distinct Alabama 1 · Alaska 1 · Arizona 1 Missing 0
cityAdd a description for city string 50 distinct Albany 1 · Annapolis 1 · Atlanta 1 Missing 0

Profiled across all 50 rows. No field descriptions yet. Add them

Explore

Vega-Lite · circle mark · albersUsa projection · tooltipVega-Lite · circle mark · albersUsa projection · tooltip
Open This Chart in the Vega Editor

Preview

First 5 of 50 rows5 of 50 rows
lonlatstatecity
-86.300563932.3777298AlabamaMontgomery
-134.410438858.3020694AlaskaJuneau
-112.09706533.4482497ArizonaPhoenix
-92.289228434.746745ArkansasLittle Rock
-121.493559138.5765854CaliforniaSacramento

Examples

Vega and Vega-Lite examples open in the Editor with this dataset loaded. Altair examples link to their Python source.

Provenance

Source
License
File
data/us-state-capitals.json · 4,048 bytes · View on GitHub