Many people remember to figure out whether a year is a leap year or not by checking if a year is divisible by four. If it is, it’s a leap year, meaning, the month of February of that year has 29 days and the year has 366 days, and if not, the month of February […]
Author: tony R.
Area Charts – Edgy to Smooth (various options)
Area charts are a great option when we need to show trends over time while also emphasizing the magnitude of values. They allow us to compare multiple series or variables easily, while the filled area illustrates the magnitude of values, and they also show how a part contributes to the whole over time. In this […]
Arrays, NumPy, Vectors, Tensors: 0 to 4+ Dimensions Demystified
In the domain of Python programming, data structures are the pillars of efficient and dynamic coding. From the straight-forward one-dimensional lists (arrays) to the complex realms of multidimensional arrays and tensors, Python provides a robust framework to handle and manipulate data. These are not just academic concepts; they are the building blocks of machine learning […]
Categorizing free-form feedback with ML
One of the toughest parts of analyzing survey feedbacks is processing the free-form feedbacks into some quantifiable measures. This is because people express the same thoughts differently, use different styles, spellings, lingos, abbreviations, and not surprisingly, inadvertently introduce spelling and grammatical errors. In order to quantify such entries, we have to arrange each feedback into […]
What are the visual ranges of animals?
Visual ranges vary widely among animals due to differences in anatomy, habitat, and behavior. The visual ranges vary depending on the species even within the same animal. In this post, I share the distance up to which some selected animals are known to see clearly. Just for context, humans with good vision can clearly see […]
Creating Dynamic TTM Reports in Excel
In this post, I’m sharing a method to create various types of TTM reports including visualization using Excel. While there are various methods I have discovered, I believe my method presented here is fool-proof and also intuitive. It uses EOMONTH function for error-free calculation of each month’s end, and FILTER function to filter and fetch […]
Handy bespoke helper library you can use in your code
In this post, I’m sharing a script loaded with useful functions that you can use in your code with ease for performing a myriad of necessary and critical tasks without the need to write (and rewrite, test and retest) your code. Just import it and call the function(s) you need. This Python helper library provides […]
Cartoon strip to a data-driven, interactive chart
Recently, I saw this cartoon strip on my Facebook feed from an account called “Homes”. It was sort of funny and true. But beyond that, I couldn’t help but think how much effort would it take to make this into a completely data-driven visualization? Don’t get me wrong, I’m a hobby artist (which you probably […]
When do we peak?
Recently, I came across an article stating how humans peak at different ages in different aspects. Surprisingly, and even perhaps amusingly it turns out that humans peak at different things throughout life from about 6 years of age all the way into the 80s according to the article based on scientific research. I captured the […]
A Complete Library Simulation with SQLite Database and Python
I am thrilled to announce that the end-to-end system for a book library is now finished and available for download! It’s a comprehensive package of a preloaded SQLite3 database designed for simulating a book library using Python with all source code and documentation included. The database contains 4 tables (preloaded, and fully documented) and sample […]