Creating a D3.js bar chart in R

How to produce a simple D3 bar chart in R with the r2d3 package. Including customisation of axes, titles and making it interactive.

Read more

80% in Kaggle’s Titanic competition in 50 lines of R code

A simple step-by-step guide to achieving over 80% accuracy in Kaggle’s Titanic competition in just 50 lines of R code.

Read more

Ethics of machine learning in education

Avoiding bias in machine learning in education.

Read more

One-hot encoding in R: three simple methods

Three quick and simple methods to apply one-hot encoding in R.

Read more

The hidden art in pi

A series of visualisations created using the ggplot2 package in R and the first million digits of pi.

Read more

Standardisation & Normalisation

Eliminate units of measurement and boost machine learning algorithms.

Read more

Creating Maps in R (2019)

Creating a heatmap of the UK in R

Read more

Leaflet maps in R

Create interactive location maps in R and embed onto websites or other applications.

Read more

UK population density map in R

Create a unique population density map of the UK in R using ggplot2 and geom_point.

Read more

Data Art: London mapped in R

Plotting an artistic map of London in R.

Read more

Artificial Intelligence, Machine Learning & Data Analytics

Data Tricks is a blog all about data science, analytics and visualisations. If you’re looking for inspiration or help with data science, analytics or visualisations you’ve come to the right place. Most of the articles posted on this site use the R programming language, but I also use Photoshop, Illustrator and CSS styling in creating some of my data art visualisations.

Wherever possible I publish the reproducible code for my visualisations, and a list of tutorials for creating charts in R can be found in the R charts gallery.

If you would like to connect with me, exchange ideas or if you would like any of the source code for any of my visualisations, please get in touch or connect with me on LinkedIn.

Artificial Intelligence Jobs Fastest Growing

AI and machine learning roles are the fastest growing jobs of 2020 according to latest research by LinkedIn.

Read more