|
Warning: The only browser these examples seem to work fully on is Firefox. A radar chart (sort of)Not quite your typical radar chart but hey ho. It still seems to represent the data very well, and in this case, it's easy to see the market share. Here, there are 5 values, hence 5 segments of equal angle. The magnitude of each data point is represented by how large the segment is. I think this represents market share more obviously than a simple pie. Browser market share at the beginning of July 2008
This code drags in the Radar chart library:
<script type="text/javascript" src="RadarChart.js"></script>
The canvas tag:
<canvas id="myRadar" width="300" height="300" style="float: left">
And this draws the graph:
<script type="text/javascript">
It doesn't draw the key. If you want that, you're on your own. A basic exampleA basic example is available here. DownloadYou can download the code here. |
