dhtmlxChart is a cross-browser chart library written in pure JavaScript. It allows you to generate nice-looking, customizable charts from a variety of datasources: XML, JSON, JS array, or CSV. dhtmlxChart supports the most common chart types: line, spline, area, bar, and pie charts. For complex charting needs, stacked charts or chart series are supported.