def create_bar_chart(dff, title):
    """Return dict inputs for plotly bar chart figure."""
    return {
        'data': [dict(
            type="bar",
            y=dff['avg_improvement_value'],
            x=dff['use']
        )],
        'layout': {
            'height': 700,
            'margin': {'l': 60, 'b': 40, 'r': 20, 't': 100},
            'xaxis': {
                'title': "Use Type"
            },
            'yaxis': {
                'title': "Average Improvement Value in USD",
                'tickprefix': "$"
            },
            'annotations': [{
                'y': 1, 'x': 0.5, 'xanchor': 'center', 'yanchor': 'bottom',
                'xref': 'paper', 'yref': 'paper', 'showarrow': False,
                'align': 'center',
                'bgcolor': 'rgba(255, 255, 255, 0.5)',
                'text': title
            }]
        }
    }