Data used as sources for visualizations is usually organized in some kind of structure. The most common structures are probably lists (arrays) and tables (maps), stored in some standard data format. When using data from external sources, you usually need to clean it up, removing unnecessary values, simplifying its structure, applying bounds, etc. After that you can parse it and finally store it locally in a JavaScript array or JavaScript object that can be used by the chart.
Once your data is stored in a JavaScript data structure, you can transform it further applying mathematical operations on the stored values. It’s useful to have a good knowledge of the main data structures used in JavaScript: arrays, objects, functions, strings, maps and sets, since your data will probably be in one of these formats. This section describes each one...