Creating an Excel graph from Navision data

Has anyone used automation to produce a graph in Excel using values from the Navision database? It looks as though it should be possible. thanks, Dan.