A Bar chart showing new car registrations in the UK, 2010-2016
A straight-forward Bar chart with a nice aesthetic to it. This style (ie the colors) of chart is frequently used by the BBC news website.
It's a grouped Bar chart with three data-pieces per segment (the third data-pieces are quite small when compared to the other two).
The background grid vertical lines are disabled (there's still a border around the edge of the grid) and there's a key that's positioned in the margin, on the left hand side.
If you like this style of chart then you could also try a slightly larger font size.
This goes in the documents header:
<script src="RGraph.common.core.js"></script> <script src="RGraph.common.key.js"></script> <script src="RGraph.bar.js"></script>Put this where you want the chart to show up:
<div style="display: inline-block; margin: 35px"> <canvas id="cvs" width="600" height="300">[No canvas support]</canvas> </div>This is the code that generates the chart: