Web

An update to the WordPress plugin is that it now has a name and is in its third year of existence. Post Volume Stats has gradually been developed in my spare time with feedback from other helpful people who have used the plugin themselves.

My first attempt at a WordPress Plugin using the WordPress Plugin API. This simple plugin basically counts the posts and writes them into a comment. Hopefully more to come... possibly even something normal viewers of the blog may be able to see. Will try to keep up-to-date on

15 Oct 2016

This test grabs currency vs currency data from a JSON API and plots it in graph. Seeing as the data from a particular date isn't going to change in the future there's only one API call per data point. USD and EUR use the left-hand axis and CNY uses the axis on the right. Because Friday, Saturday...

19 Jul 2016

This is similar to what you might find on a dating website where you enter your address and it finds nearby matches for you. This was a quick test that uses a Google API to get the longitude and latitude, then we work out the distances from there. Finally, the results are presented on a Google...

The same code from here was extended to make it possible to have up to 2 constraints. The two constraints here are (active/non-active) and (mobile/non-mobile). The main graph, which has the average bar chart behind it,...

This used all my powers of trigonometry and takes the same data as used in the world map example to make a pie chart. Small and large angles are dealt with by the code. The main mistake here is that secondary countries and tertiary countries are all treated the same as the primary country so the...

Data from various different countries is collated with PHP and an SVG world map image is altered to show the volumes present in each country. This particular map did not match up 100% with the data I have (there is no Hong Kong or Hawaii). The countries that are highlighted all have data...

This code is derived from some code I posted on Github in Feb 2014 making a SVG graph from a database. The code is updated and instead of counting all the rows every time the graph is loaded I added an extra stage to take the...