# Creating US Bubble with State Locations

**URL:** <https://community.plotly.com/t/creating-us-bubble-with-state-locations/39512>\
**Category:** plotly.js\
**Created:** [May 15, 2020, 6:16pm UTC](https://community.plotly.com/t/creating-us-bubble-with-state-locations/39512 "2020-05-15T18:16:51Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jfrick100](https://avatars.discourse-cdn.com/v4/letter/j/8c91f0/32.png) [@Jfrick100](https://community.plotly.com/u/Jfrick100)\
**Post date:** [May 15, 2020, 6:16pm UTC](https://community.plotly.com/t/creating-us-bubble-with-state-locations/39512/1 "2020-05-15T18:16:51Z")

</div>

The Plotly JS Bubble Map for Europe uses this code to place bubbles on the European Map:

```auto
var data = [{
    type: 'scattergeo',
    mode: 'markers',
    locations: ['FRA', 'DEU', 'RUS', 'ESP'],
    marker: {
        ...
    },
    name: 'europe data'
}];

var layout = {
    'geo': {
        'scope': 'europe',
        'resolution': 50

```

Notice the way the countries are named: ‘FRA’, ‘DEU’, ‘RUS’, ‘ESP’.

My problem is that I can change the scope to be ‘usa’, and I get a great looking map of the USA. But I cannot change the location data to have a bubble appear on any state…

I have tried ‘CA’, Ca’, CAL’, ‘Ca’, ‘California’, ‘CALIFORNIA’.

Does anyone know the correct values I should be using to be able to build a bubble map?

Any help is greatly appreciated.
