CanvasXpress not only lets you create data visualizations in the JSON format, but it also allows you to load other data formats, including XML, PNG, and tab-delimited (CSV, TSV).
Create these visualization formats programmatically or by dragging and dropping them into the CanvasXpress visualization.
Below is an example showing a visualization of a CSV file dataset. See the parameters in the JSON below.
new CanvasXpress({ renderTo: "canvasCSV", data: "https://raw.githubusercontent.com/neuhausi/Rdatasets/master/csv/datasets/ToothGrowth.csv", config: { title: "Tooth Growth", smpLabelRotate: 90, graphType: "Boxplot", theme: "CanvasXpress", graphOrientation: "vertical", xAxis: ["len"], metaData: { "dose": true }, groupingFactors: ["dose"] } });
To demonstrate the drag and drop capabilities of the CanvasXpress visualization, you may download the files below and drag them into the visualization. This tool allows for easy and time-effective handling of datasets.