February 2019
Beginner to intermediate
284 pages
6h 20m
English
Polar area charts are like bar charts rendered on a radial axis. A bar chart is usually a better option if you need precision, but you might choose a polar area chart for its visual effects.
To create a polar area chart, you set up the data the same way you would for a bar chart, then change the type to polarArea. As in the radar chart, there is only one scale property and axis to configure.
In the following example, we use a polar area chart to compare the volumes of the world's oceans. It is based on the bar chart with the same data we created in Chapter 3, Chart.js – Quick Start.
const labels = ["Arctic", "Southern", "North Atlantic", "South Atlantic", "Indian", "South Pacific", "North Pacific"]; const volume = [18750, ...
Read now
Unlock full access