Given a json-formatted string, create a python program to parse it into a dict.
data = '{"name": "John","age": 30,"address": {"city": "New York","state": "NY"}}'
import json

data = '{"name": "John","age": 30,"address": {"city": "New York","state": "NY"}}'

data_dict = json.loads(data)