Bar chart data
Data formats accepted: JSON, CSV, TSV, Firebase
CSV/TSV
Bar chart datasets require at least two columns of data. If more than two columns exist, the first ordinal column and the first linear column will be used by default to build the graph. There must be one at least one ordinal and linear column. Each row will be represented with a bar in the final chart.
JSON
JSON datasets should be an array of objects where the data in each object is represented with at least two key-value pairs. If more than two key-value pairs exist, the first ordinal key-value pair and the first linear key-value pair will be used by default to build the graph. There must be at least one ordinal and linear key-value pair. Each row will be represented with a bar in the final chart.
Firebase
Firebase datasets follow the same formatting rules as JSON data (see above). You must pass in the url of your Firebase database into the uploadFirebase
method to use Firebase as your data source. See uploadFirebase.