def USA_map(go,tls,df):
    """
    Fucntion to create an interactive USA map visualization that break down
    the number of jobs for each state
    """

    fig = go.Figure(data=go.Choropleth(locations=df['CODE'],
                                       z = df['counts'].astype(float),
                                       locationmode = 'USA-states',
                                       colorscale = 'Reds',
                                       colorbar_title = "No of jobs"))

    fig.update_layout(title_text = 'Jobs Distribution around the US',title_x=0.5,geo_scope='usa')
    return fig