An SVG Line chart showing UFO sightings
Summary: An SVG Line chart showing UFO sightings over the past century. As you can see peoples imagination is increasing!
A straight-forward Line chart that's showing UFO sightings over the past century. As you can see - people's creativity is clearly on the increase - particularly since the 1990s!
The background grid is customised to have a white color and an increased amount of vertical lines.
The X axis labels are just years, the axes have been turned off and the tickmarks for the line are filled circles.
On the whole it's a pretty regular Line chart. The responsive configuration just shrinks the size
of the chart and reduces the size of the
linewidth and the
This goes in the documents header:
<script src="../libraries/RGraph.svg.common.core.js" ></script> <script src="../libraries/RGraph.svg.line.js" ></script>Put this where you want the chart to show up:
<div style="width: 750px; height: 250px" id="chart-container"></div>This is the code that generates the chart: