subplot with dict

Hello,
I do not know how to extract coordinates from a dict in order to paint all three graphs:

from pprint import pprint
import matplotlib.pyplot as plt

fig = plt.figure()
data = {} # dict could contains more date, depends from the user input
#d1, d2, d3, .... are labels
data['d1'] = {1:2,2:5,3:6}
data['d2'] = {1:4,2:6,3:8}
data['d3'] = {1:1,2:2,3:2}

fig = plt.figure()
plt.plot(x, y1, '--bo', x, y2, '--go') # How would it be possible to replace it by dict data

How is it possible to draw all three graphs?

Thank you in advance.