This is an exercise. The following bar chart was created using d3.
The data shows the amount of energy from coal and from oil generated in Australia, from 1977 to 2013, in Petajoules (1015 Joules).
The x-axis shows the amount of energy from coal, while the y-axis shows the mount of energy generated from oil.
X-axis and y-axis not to scale
(pass the mouse over a circle to see the year it refers to)
Source: Australian Energy Statistics.Department of Industry and Science