These Flash visualization tools will dynamically create line and pie graphs from provided XML files. See the sample line graph XML and pie graph XML files to understand the expected data format (neither have XML schema's, but if you want them they would quite easy to create).
Line Graphs line_graph.fla
There must be one <x> value for a given point (<p>), but can be any number of lines (<y> values), although there should be consistent number of lines per point. The color attribute is a hex value, minus any 0x or #. The size attribute refers to the width of the line. If the area attribute is present, the area below the line will be drawn that color (again a hex value). Similarly, if the point attribute is present, a point will be drawn that color. The <x> value may be any string, but the <y> value must be a number.
Pie Graphs pie_graph.fla
Slices refers to how perfect you want your circle; more slices means a nicer circle but more draw time. You may also specify a prefix attribute for the settings element, which will add that prefix to the number displayed (for example a dollar sign). <key> may be any string, but <val> must be some number (percentages will be automatically calculated). The c attribute refers to color, which, as above, is a hex value.