<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Isaiah Adewuyi on Medium]]></title>
        <description><![CDATA[Stories by Isaiah Adewuyi on Medium]]></description>
        <link>https://medium.com/@isaiahadewuyi6?source=rss-5acc1e609fcc------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*REmboSrBkgwk8_gMnxs1vA.jpeg</url>
            <title>Stories by Isaiah Adewuyi on Medium</title>
            <link>https://medium.com/@isaiahadewuyi6?source=rss-5acc1e609fcc------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 14:32:13 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@isaiahadewuyi6/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[COVID-19 Data Summary]]></title>
            <link>https://medium.com/@isaiahadewuyi6/covid-19-data-summary-78a06a0592ce?source=rss-5acc1e609fcc------2</link>
            <guid isPermaLink="false">https://medium.com/p/78a06a0592ce</guid>
            <category><![CDATA[covid19]]></category>
            <dc:creator><![CDATA[Isaiah Adewuyi]]></dc:creator>
            <pubDate>Wed, 07 May 2025 13:44:03 GMT</pubDate>
            <atom:updated>2025-05-07T13:44:03.436Z</atom:updated>
            <content:encoded><![CDATA[<h4>SQL-Based Analysis on Global COVID-19 Trends</h4><h4>📊 1. General Data Filtering</h4><ul><li>The project works with two datasets: CovidDeaths$ and CovidVaccinations$.</li><li>Initial filters remove records where continent is null to ensure only country-level data is analyzed.</li></ul><h4>⚰️ 2. Total Cases vs Total Deaths</h4><ul><li><strong>Purpose</strong>: To measure the likelihood of death after contracting COVID-19.</li><li><strong>Calculation</strong>: (total_deaths / total_cases) * 100 gives the <strong>Death Percentage</strong>.</li><li><strong>Insight Example</strong>: For <strong>Nigeria</strong>, this percentage is tracked over time.</li></ul><h4>🧍‍♂️ 3. Total Cases vs Population</h4><ul><li><strong>Purpose</strong>: To understand what percentage of a country’s population has been infected.</li><li><strong>Calculation</strong>: (total_cases / population) * 100 gives the <strong>Population Infection Rate</strong>.</li><li>Nigeria’s data is analyzed in this context as well.</li></ul><h4>🌍 4. Countries with Highest Infection Rates</h4><ul><li><strong>Purpose</strong>: Identify countries with the most infections relative to their population.</li><li><strong>Insight</strong>: MAX(total_cases) shows peak case count, while MAX(total_cases/population) * 100 shows highest infection rate percentage</li></ul><pre>Use [Covid Project]<br><br> Select * From CovidDeaths$<br> Where continent is not null<br> Order by 3, 4<br> --Select * From CovidVaccinations$<br> --Order by 3, 4<br><br> Select location ,date ,total_cases,new_cases ,total_deaths ,population<br> From CovidDeaths$<br>  Order by 1, 2<br><br>  --Total Cases Vs Total Deaths--<br>  --This shows the likelihood of dying if you tracked the covid in your country--<br>Select location ,date ,total_cases ,total_deaths ,(total_deaths/total_cases)*100 as DeathPercentage<br> From CovidDeaths$<br> Where location like &#39;%nigeria%&#39;<br>  Order by 1, 2<br><br>  -- Total Cases Vs Population<br>  -- This shows what percentage of the Population has Covid<br>  Select location ,date ,total_cases,(total_cases/population)*100 as PopulationPercentage<br> From CovidDeaths$<br> Where location like &#39;%nigeria%&#39;<br>  Order by 1, 2<br><br>  -- Country with the Highest Infection rate compared to population--<br><br>  Select location ,Max(total_cases) AS HighestInfectionCount, Max(total_deaths/population)*100 as PercentagePopulationInfected<br> From CovidDeaths$<br> --Where location like &#39;%nigeria%&#39;<br> Where continent is not null<br> Group by location, population<br>  Order by PercentagePopulationInfected DESC<br><br>  --Countries with the Highest Death Count per Population<br>    Select location, MAX(cast(total_deaths as int)) as TotalDeathCounts<br> From CovidDeaths$<br> --Where location like &#39;%nigeria%&#39;<br> Where continent is null<br> Group by location<br>  Order by TotalDeathCounts DESC<br><br>  -- By not null locations--<br> Select  location, MAX(cast(total_deaths as int)) as TotalDeathCounts<br> From CovidDeaths$<br> --Where location like &#39;%nigeria%&#39;<br> Where continent is not null<br> Group by location<br>  Order by TotalDeathCounts DESC<br><br>-- Continents with the Highest death counts--<br><br>    Select continent, MAX(cast(total_deaths as int)) as TotalDeathCounts<br> From CovidDeaths$<br> --Where location like &#39;%nigeria%&#39;<br> Where continent is not null<br> Group by continent<br>  Order by TotalDeathCounts DESC<br><br>--Global Numbers--<br>   <br>Select date, SUM(new_cases) as total_cases,SUM(cast(new_deaths as int)) as Total_deaths,<br>SUM(cast(new_deaths as int)), SUM(new_cases) *100   as DeathPercentage<br> From CovidDeaths$<br> --Where location like &#39;%nigeria%&#39;<br> Where continent is not null<br> Group by date<br>  Order by 1, 2<br><br>  Select * From CovidDeaths$ dea<br>  Join CovidVaccinations$ vac<br>  on dea.location = vac.location<br>  and dea.date = vac.date <br><br>  -- Total Population va Vaccinations<br>  Select dea.continent, dea.location, dea.date,dea.population, vac.new_vaccinations<br>  , SUM(Convert(int, vac.new_vaccinations)) OVER(Partition by dea.location order by dea.location, dea.date) AS PeopleVaccinated<br>From CovidDeaths$ dea<br>  Join CovidVaccinations$ vac<br>  on dea.location = vac.location<br>  and dea.date = vac.date <br>  Where dea.continent is not null<br>  Order by 2,3<br><br>-- USING CTE--<br>With PopvsVac (continent, location, date, population,new_vaccinations, PeopleVaccinated)<br>AS <br>(<br>  Select dea.continent, dea.location, dea.date,dea.population, vac.new_vaccinations<br>  , SUM(Convert(int, vac.new_vaccinations)) OVER(Partition by dea.location order by dea.location, dea.date) AS PeopleVaccinated<br>From CovidDeaths$ dea<br>  Join CovidVaccinations$ vac<br>  on dea.location = vac.location<br>  and dea.date = vac.date <br>  Where dea.continent is not null<br>  --Order by 2,3<br>  )<br>Select *<br>From PopvsVac </pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=78a06a0592ce" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Spotify Top Tracks 2018]]></title>
            <link>https://medium.com/@isaiahadewuyi6/spotify-top-tracks-2018-945e3635f13c?source=rss-5acc1e609fcc------2</link>
            <guid isPermaLink="false">https://medium.com/p/945e3635f13c</guid>
            <dc:creator><![CDATA[Isaiah Adewuyi]]></dc:creator>
            <pubDate>Tue, 15 Apr 2025 17:02:37 GMT</pubDate>
            <atom:updated>2025-04-15T17:02:37.180Z</atom:updated>
            <content:encoded><![CDATA[<h3>Project Overview</h3><p>This Power BI project explores Spotify’s Top 2018 Tracks dataset, focusing on analyzing the audio characteristics, artist trends, and overall track performance. The report features interactive navigation, custom visuals, and dynamic storytelling through DAX and bookmarks</p><h3>Dataset Description</h3><p>The dataset includes:</p><ul><li>Track_name</li><li>artist</li><li>danceability, energy, valence, tempo, loudness, acousticness, etc.</li><li>popularity, duration_ms, key, mode, genre</li></ul><h3>Report Navigation and Structure</h3><p>Custom <strong>navigation buttons</strong> and <strong>bookmarks</strong> were created to allow smooth transitions between report pages:</p><h4>Report Pages:</h4><h4><strong>Dashboard</strong></h4><ul><li>Overview of the dataset</li><li>Key metrics (Total Tracks, Average Popularity, Avg Danceability)</li><li>Top 10 Tracks and Artists by Popularity</li></ul><p><strong>Audio Features</strong></p><ul><li>Analysis of features like energy, danceability, valence, loudness</li><li>Line and bar charts showing audio profile trends</li><li>Buckets created for danceability levels (Very Low to Very High)</li></ul><p><strong>Artist Spotlight</strong></p><ul><li>Top Artists by Track Count</li><li>Average audio feature comparisons across artists</li><li>Highlighted artist-specific trends</li></ul><h3>Key Insights</h3><h3>🎵 1. Top Artists Dominate Playlists</h3><p>&gt; A small group of artists (e.g., Drake, Post Malone, Ed Sheeran) account for a large portion of the top tracks.</p><p>&gt; These artists often appear multiple times in the top charts with consistently high popularity scores.</p><p><em>Insight:</em> There’s a power-law effect — a few artists drive most of the listening attention.</p><h3>Danceability Trends</h3><p>&gt; Most tracks fall into the <strong>Medium to High</strong> danceability bucket.</p><p>&gt; Very few tracks have “Very Low” danceability, indicating Spotify top hits tend to be rhythmic and danceable.</p><p><em>Insight:</em> High danceability correlates with track popularity, showing that listeners prefer upbeat and energetic songs.</p><h3>Energy &amp; Valence Combination</h3><p>&gt; Tracks with both <strong>high energy and high valence</strong> (positive emotion) tend to be more popular.</p><p>&gt; Sad or low-valence tracks are fewer among top tracks, suggesting a positive vibe preference.</p><p><em>Insight:</em> High-energy, feel-good music dominates the charts — a key factor for songwriters and producers.</p><h3>Acousticness &amp; Loudness</h3><p>&gt; Most top tracks are <strong>not acoustic</strong> and are quite <strong>loud</strong>, reflecting mainstream production styles.</p><p>&gt; Low acousticness suggests preference for digitally produced or studio-enhanced music.</p><p><em>Insight:</em> Mainstream pop leans heavily on polished production rather than raw or live acoustics.</p><h3>Track Duration Uniformity</h3><p>&gt; Most songs range between <strong>3 to 4 minutes</strong>, aligning with typical radio-friendly formats.</p><p><em>Insight:</em> The hit formula still includes keeping songs short, engaging, and looping-ready.</p><h3>Recommendations</h3><p><strong>For Emerging Artists:</strong></p><p>&gt; Create <strong>high-danceability</strong> tracks with positive mood (valence) to increase potential for virality.</p><p>&gt; Focus on <strong>stream-friendly durations</strong> (3–4 mins) and loud, energetic production styles.</p><p><strong>For Playlist Curators:</strong></p><p>&gt; Build theme-based playlists based on <strong>danceability buckets</strong> and energy levels to capture listener moods (e.g., chill, party, workout).</p><p><strong>For Developers/Data Teams:</strong></p><p>&gt; Integrate <strong>release dates</strong> and <strong>streaming counts</strong> for stronger temporal analysis and real-world impact.</p><p>&gt; Add <strong>genre</strong> and <strong>listener demographic</strong> data to support segmentation.</p><h3>Conclusion</h3><p>This Power BI report provides a holistic view of what made tracks successful on Spotify in 2018. From energy levels to artist dominance, it is clear that:</p><p><strong>&gt; Energetic, danceable, happy music</strong> drives popularity.</p><p><strong>&gt; Track structure and length</strong> follow an optimized, repeatable format.</p><p>&gt; There’s an opportunity for new artists and curators to leverage this data for growth and engagement.</p><p>By visualizing these patterns, stakeholders across music production, marketing, and platform development can make <strong>informed, strategic decisions</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XSCpBRbybY7RbjHGVAzXtA.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pFq8hkqv021Ik4bPwKOoVg.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DhFYbywFQ-ik_1FLkjsNMQ.jpeg" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=945e3635f13c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[From Chaos to Clarity: Cleaning Dirty Data with Python]]></title>
            <link>https://medium.com/@isaiahadewuyi6/from-chaos-to-clarity-cleaning-dirty-data-with-python-c41e81db4cbb?source=rss-5acc1e609fcc------2</link>
            <guid isPermaLink="false">https://medium.com/p/c41e81db4cbb</guid>
            <category><![CDATA[from-chaos-to-clarity]]></category>
            <dc:creator><![CDATA[Isaiah Adewuyi]]></dc:creator>
            <pubDate>Thu, 10 Apr 2025 09:22:45 GMT</pubDate>
            <atom:updated>2025-04-10T09:22:45.715Z</atom:updated>
            <content:encoded><![CDATA[<p>Data cleaning is the unsung hero of any data science project. It’s messy, time-consuming, and absolutely essential. In this project, I rolled up my sleeves and worked on cleaning a real-world dataset using Python — transforming raw, unstructured data into a format ready for analysis.</p><p>I started by importing the necessary libraries</p><p>Then I loaded my dataset — a Consumer Price Index (CPI) dataset for Kwara State — using: Kwara_CPI = pd.read_excel(“Kwara CPI.xlsx”)</p><p>Initial inspection showed:</p><ul><li>Missing values</li><li>Irregular column formatting</li><li>Some inconsistent data types</li></ul><p>Here’s what I did:</p><ul><li>Renamed inconsistent column headers</li><li>Dropped null or irrelevant rows/columns</li><li>Converted columns to appropriate data types</li><li>Checked and handled outliers or zero entries</li></ul><h3>Insights Uncovered</h3><p>After cleaning:</p><ul><li>I observed a clear upward trend in CPI over time.</li><li>Certain years had abnormal spikes which required contextual analysis.</li><li>Data is now structured and ready for deeper modeling or forecasting.</li></ul><p>This is the link to my code</p><p><a href="https://github.com/Isaiahadewuyi/Isaiahadewuyi/blob/main/Kwara_CPI.ipynb">Isaiahadewuyi/Kwara_CPI.ipynb at main · Isaiahadewuyi/Isaiahadewuyi</a></p><p>Kwara_CPI.ipynb</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c41e81db4cbb" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Uncovering Donation Patterns with SQL: Insights from a Donor Dataset]]></title>
            <link>https://medium.com/@isaiahadewuyi6/uncovering-donation-patterns-with-sql-insights-from-a-donor-dataset-2f6e7925b6f8?source=rss-5acc1e609fcc------2</link>
            <guid isPermaLink="false">https://medium.com/p/2f6e7925b6f8</guid>
            <dc:creator><![CDATA[Isaiah Adewuyi]]></dc:creator>
            <pubDate>Tue, 25 Mar 2025 09:46:29 GMT</pubDate>
            <atom:updated>2025-03-25T09:46:29.419Z</atom:updated>
            <content:encoded><![CDATA[<pre>-- Create the Database<br>CREATE DATABASE EFO_Donations;<br><br>-- Use the Database<br>USE EFO_Donations;<br><br>-- Create Donation_Data Table<br>CREATE TABLE Donation_Data (<br>    id INT PRIMARY KEY,<br>    first_name VARCHAR(50),<br>    last_name VARCHAR(50),<br>    email VARCHAR(50),<br>    gender VARCHAR(50),<br>    job_field VARCHAR(50),<br>    donation INT,<br>    state VARCHAR(50),<br>    shirt_size VARCHAR(50)<br>);<br><br>-- Create Donor_Data2 Table<br>CREATE TABLE Donor_Data2 (<br>    id INT PRIMARY KEY,<br>    donation_frequency VARCHAR(50),<br>    university VARCHAR(50),<br>    car VARCHAR(50),<br>    second_language VARCHAR(50),<br>    favourite_colour VARCHAR(50),<br>    movie_genre VARCHAR(100)<br>);<br>-- View Donation_Data Table<br>SELECT * FROM Donation_Data <br><br>-- View Donor_Data2 Table<br>SELECT * FROM Donor_Data2<br><br>-- Inserting 20 rows into Donation_Data<br>INSERT INTO Donation_Data (id, first_name, last_name, email, gender, job_field, donation, state, shirt_size)<br>VALUES <br>(1, &#39;John&#39;, &#39;Doe&#39;, &#39;johndoe1@example.com&#39;, &#39;Male&#39;, &#39;Engineering&#39;, 150, &#39;California&#39;, &#39;M&#39;),<br>(2, &#39;Jane&#39;, &#39;Smith&#39;, &#39;janesmith2@example.com&#39;, &#39;Female&#39;, &#39;Marketing&#39;, 75, &#39;Texas&#39;, &#39;S&#39;),<br>(3, &#39;Robert&#39;, &#39;Brown&#39;, &#39;robertbrown3@example.com&#39;, &#39;Male&#39;, &#39;Finance&#39;, 200, &#39;New York&#39;, &#39;L&#39;),<br>(4, &#39;Emily&#39;, &#39;Davis&#39;, &#39;emilydavis4@example.com&#39;, &#39;Female&#39;, &#39;Healthcare&#39;, 120, &#39;Florida&#39;, &#39;M&#39;),<br>(5, &#39;Michael&#39;, &#39;Wilson&#39;, &#39;michaelwilson5@example.com&#39;, &#39;Male&#39;, &#39;Education&#39;, 60, &#39;Illinois&#39;, &#39;XL&#39;),<br>(6, &#39;Sarah&#39;, &#39;Johnson&#39;, &#39;sarahjohnson6@example.com&#39;, &#39;Female&#39;, &#39;Engineering&#39;, 180, &#39;Ohio&#39;, &#39;M&#39;),<br>(7, &#39;Daniel&#39;, &#39;Lee&#39;, &#39;daniellee7@example.com&#39;, &#39;Male&#39;, &#39;IT&#39;, 140, &#39;Georgia&#39;, &#39;L&#39;),<br>(8, &#39;Laura&#39;, &#39;Clark&#39;, &#39;lauraclark8@example.com&#39;, &#39;Female&#39;, &#39;Sales&#39;, 50, &#39;North Carolina&#39;, &#39;S&#39;),<br>(9, &#39;David&#39;, &#39;Lopez&#39;, &#39;davidlopez9@example.com&#39;, &#39;Male&#39;, &#39;Design&#39;, 90, &#39;Arizona&#39;, &#39;M&#39;),<br>(10, &#39;Megan&#39;, &#39;Green&#39;, &#39;megangreen10@example.com&#39;, &#39;Female&#39;, &#39;Marketing&#39;, 65, &#39;Michigan&#39;, &#39;M&#39;),<br>(11, &#39;Chris&#39;, &#39;Taylor&#39;, &#39;christaylor11@example.com&#39;, &#39;Male&#39;, &#39;Law&#39;, 130, &#39;Virginia&#39;, &#39;L&#39;),<br>(12, &#39;Amanda&#39;, &#39;Adams&#39;, &#39;amandaadams12@example.com&#39;, &#39;Female&#39;, &#39;Education&#39;, 70, &#39;Washington&#39;, &#39;M&#39;),<br>(13, &#39;Brian&#39;, &#39;Perez&#39;, &#39;brianperez13@example.com&#39;, &#39;Male&#39;, &#39;IT&#39;, 155, &#39;Nevada&#39;, &#39;L&#39;),<br>(14, &#39;Rebecca&#39;, &#39;Walker&#39;, &#39;rebeccawalker14@example.com&#39;, &#39;Female&#39;, &#39;Healthcare&#39;, 125, &#39;Colorado&#39;, &#39;S&#39;),<br>(15, &#39;Andrew&#39;, &#39;Scott&#39;, &#39;andrewscott15@example.com&#39;, &#39;Male&#39;, &#39;Sales&#39;, 50, &#39;Oregon&#39;, &#39;M&#39;),<br>(16, &#39;Jessica&#39;, &#39;Mitchell&#39;, &#39;jessicamitchell16@example.com&#39;, &#39;Female&#39;, &#39;Finance&#39;, 180, &#39;New Jersey&#39;, &#39;L&#39;),<br>(17, &#39;Steven&#39;, &#39;White&#39;, &#39;stevenwhite17@example.com&#39;, &#39;Male&#39;, &#39;Design&#39;, 110, &#39;Massachusetts&#39;, &#39;M&#39;),<br>(18, &#39;Karen&#39;, &#39;Harris&#39;, &#39;karenharris18@example.com&#39;, &#39;Female&#39;, &#39;Engineering&#39;, 200, &#39;Minnesota&#39;, &#39;S&#39;),<br>(19, &#39;Matthew&#39;, &#39;Martin&#39;, &#39;matthewmartin19@example.com&#39;, &#39;Male&#39;, &#39;IT&#39;, 90, &#39;Missouri&#39;, &#39;XL&#39;),<br>(20, &#39;Emily&#39;, &#39;Jackson&#39;, &#39;emilyjackson20@example.com&#39;, &#39;Female&#39;, &#39;Marketing&#39;, 75, &#39;New York&#39;, &#39;M&#39;);<br><br>-- Inserting 50 rows into Donor_Data2<br>INSERT INTO Donor_Data2 (id, donation_frequency, university, car, second_language, favourite_colour, movie_genre)<br>VALUES <br>(1, &#39;Monthly&#39;, &#39;Harvard University&#39;, &#39;Tesla&#39;, &#39;Spanish&#39;, &#39;Blue&#39;, &#39;Action|Adventure&#39;),<br>(2, &#39;Weekly&#39;, &#39;MIT&#39;, &#39;BMW&#39;, &#39;French&#39;, &#39;Red&#39;, &#39;Comedy|Drama&#39;),<br>(3, &#39;Annually&#39;, &#39;Stanford University&#39;, &#39;Audi&#39;, &#39;German&#39;, &#39;Green&#39;, &#39;Sci-Fi|Fantasy&#39;),<br>(4, &#39;Monthly&#39;, &#39;UC Berkeley&#39;, &#39;Ford&#39;, &#39;Chinese&#39;, &#39;Yellow&#39;, &#39;Documentary|Biography&#39;),<br>(5, &#39;Quarterly&#39;, &#39;Columbia University&#39;, &#39;Honda&#39;, &#39;Japanese&#39;, &#39;Black&#39;, &#39;Horror|Thriller&#39;),<br>(6, &#39;Weekly&#39;, &#39;Yale University&#39;, &#39;Toyota&#39;, &#39;Italian&#39;, &#39;Purple&#39;, &#39;Romance|Drama&#39;),<br>(7, &#39;Annually&#39;, &#39;Princeton University&#39;, &#39;Mercedes&#39;, &#39;Korean&#39;, &#39;Orange&#39;, &#39;Action|Crime&#39;),<br>(8, &#39;Monthly&#39;, &#39;Oxford University&#39;, &#39;Lexus&#39;, &#39;Arabic&#39;, &#39;Pink&#39;, &#39;Animation|Family&#39;),<br>(9, &#39;Weekly&#39;, &#39;Cambridge University&#39;, &#39;Chevrolet&#39;, &#39;Russian&#39;, &#39;Grey&#39;, &#39;War|History&#39;),<br>(10, &#39;Quarterly&#39;, &#39;University of Toronto&#39;, &#39;Jeep&#39;, &#39;Portuguese&#39;, &#39;Teal&#39;, &#39;Comedy|Musical&#39;),<br>(11, &#39;Monthly&#39;, &#39;UCLA&#39;, &#39;Subaru&#39;, &#39;Hindi&#39;, &#39;Brown&#39;, &#39;Drama|Mystery&#39;),<br>(12, &#39;Weekly&#39;, &#39;NYU&#39;, &#39;Nissan&#39;, &#39;Swedish&#39;, &#39;White&#39;, &#39;Adventure|Fantasy&#39;),<br>(13, &#39;Annually&#39;, &#39;Brown University&#39;, &#39;Mazda&#39;, &#39;Greek&#39;, &#39;Cyan&#39;, &#39;Crime|Thriller&#39;),<br>(14, &#39;Monthly&#39;, &#39;Duke University&#39;, &#39;Volkswagen&#39;, &#39;Turkish&#39;, &#39;Navy&#39;, &#39;Sci-Fi|Horror&#39;),<br>(15, &#39;Quarterly&#39;, &#39;Cornell University&#39;, &#39;Kia&#39;, &#39;Danish&#39;, &#39;Olive&#39;, &#39;Mystery|Suspense&#39;),<br>(16, &#39;Weekly&#39;, &#39;University of Chicago&#39;, &#39;Hyundai&#39;, &#39;Hebrew&#39;, &#39;Maroon&#39;, &#39;Romantic Comedy&#39;),<br>(17, &#39;Annually&#39;, &#39;Northwestern University&#39;, &#39;Jaguar&#39;, &#39;Czech&#39;, &#39;Silver&#39;, &#39;Drama|Biography&#39;),<br>(18, &#39;Monthly&#39;, &#39;Carnegie Mellon University&#39;, &#39;Buick&#39;, &#39;Polish&#39;, &#39;Gold&#39;, &#39;Crime|Documentary&#39;),<br>(19, &#39;Quarterly&#39;, &#39;University of Michigan&#39;, &#39;Volvo&#39;, &#39;Finnish&#39;, &#39;Lavender&#39;, &#39;Western|History&#39;),<br>(20, &#39;Weekly&#39;, &#39;Penn State&#39;, &#39;Land Rover&#39;, &#39;Norwegian&#39;, &#39;Indigo&#39;, &#39;Sci-Fi|Adventure&#39;);<br><br>-- Check Donation_Data Table<br>SELECT COUNT(*) FROM Donation_Data;<br><br>-- Check Donor_Data2 Table<br>SELECT COUNT(*) FROM Donor_Data2;<br><br>-- Combining both tables using INNER JOIN<br>SELECT *<br>FROM Donation_Data d<br>INNER JOIN Donor_Data2 d2<br>ON d.id = d2.id<br><br>--Insight 1: Highest Donors by Amount<br>SELECT d.first_name, d.last_name, d.donation<br>FROM Donation_Data d<br>ORDER BY d.donation DESC<br><br>--Insight 2: Average Donation by Job <br>SELECT d.job_field, AVG(d.donation) AS average_donation<br>FROM Donation_Data d<br>GROUP BY d.job_field<br>ORDER BY average_donation DESC;<br><br>-- Insight 3: Most Popular Donation Frequency<br>SELECT d2.donation_frequency, <br>COUNT(d2.donation_frequency) AS frequency_count<br>FROM Donor_Data2 d2<br>GROUP BY d2.donation_frequency<br>ORDER BY frequency_count DESC;<br><br>--Insight 4: Donations by University<br>SELECT d2.university, SUM(d.donation) AS total_donation<br>FROM Donation_Data d<br>JOIN Donor_Data2 d2<br>ON d.id = d2.id<br>GROUP BY d2.university<br>ORDER BY total_donation DESC;<br><br>--Insight 5: Donation Amount vs. Car Type<br>SELECT d2.car, AVG(d.donation) AS average_donation<br>FROM Donation_Data d<br>JOIN Donor_Data2 d2<br>ON d.id = d2.id<br>GROUP BY d2.car<br>ORDER BY average_donation DESC;<br><br>-- Insight 6: Languages Spoken by Donors<br>SELECT d2.second_language, <br>COUNT(d2.second_language) AS language_count<br>FROM Donor_Data2 d2<br>GROUP BY d2.second_language<br>ORDER BY language_count DESC;<br><br>--Insight 7: Movie Genre Preferences<br>SELECT d2.movie_genre, <br>COUNT(d2.movie_genre) AS genre_count<br>FROM Donor_Data2 d2<br>GROUP BY d2.movie_genre<br>ORDER BY genre_count DESC;<br><br>--Insight 8: High Donors by University &amp; Job Field<br>SELECT d2.university, d.job_field, <br>SUM(d.donation) AS total_donation<br>FROM Donation_Data d<br>JOIN Donor_Data2 d2<br>ON d.id = d2.id<br>GROUP BY d2.university, d.job_field<br>ORDER BY total_donation DESC;<br><br>--Insight 9: Preferred Donation Frequency by Job Field<br>SELECT d.job_field, d2.donation_frequency, COUNT(d2.donation_frequency) AS frequency_count<br>FROM Donation_Data d<br>JOIN Donor_Data2 d2<br>ON d.id = d2.id<br>GROUP BY d.job_field, d2.donation_frequency<br>ORDER BY frequency_count DESC;<br><br>--Insight 10: Top Languages Spoken by Highest Donors<br>SELECT d2.second_language, <br>SUM(d.donation) AS total_donation<br>FROM Donation_Data d<br>JOIN Donor_Data2 d2<br>ON d.id = d2.id<br>GROUP BY d2.second_language<br>ORDER BY total_donation DESC;<br><br>-- Insight 11: Donation Frequency by Gender<br>SELECT <br>    d.gender,<br>    d2.donation_frequency,<br>    COUNT(*) AS Frequency_Count<br>FROM Donation_Data d<br>JOIN Donor_Data2 d2<br>ON d.id = d2.id<br>GROUP BY d.gender, d2.donation_frequency<br>ORDER BY Frequency_Count DESC;<br><br>-- Insight 12: Average Donation by Movie Genre<br>SELECT <br>    d2.movie_genre,<br>    AVG(d.donation) AS Average_Donation<br>FROM Donation_Data d<br>JOIN Donor_Data2 d2<br>ON d.id = d2.id<br>GROUP BY d2.movie_genre<br>ORDER BY Average_Donation DESC;<br><br>--Insight 13: Most Common Job Fields Among High Donors<br>SELECT <br>    d.job_field, <br>    COUNT(d.id) AS Donor_Count,<br>    AVG(d.donation) AS Average_Donation<br>FROM Donation_Data d<br>WHERE d.donation &gt; 500  -- Change 500 to another value if you prefer<br>GROUP BY d.job_field<br>ORDER BY Average_Donation DESC;<br><br>--Insight 14: Car Ownership Influence on Donation<br>SELECT <br>    d2.car, <br>    AVG(d.donation) AS Average_Donation,<br>    COUNT(d.id) AS Donor_Count<br>FROM Donation_Data d<br>JOIN Donor_Data2 d2<br>ON d.id = d2.id<br>GROUP BY d2.car<br>ORDER BY Average_Donation DESC;<br><br></pre><p><strong>Introduction</strong></p><p>Charitable donations play a crucial role in supporting social causes, but understanding donor behavior is key to optimizing fundraising strategies. With data analytics, we can uncover insights that reveal donation trends, high-value donors, and external factors influencing contributions.</p><p>In this article, I’ll walk you through an SQL-based analysis of a <strong>donation dataset</strong>, highlighting key trends and actionable insights that non-profits and analysts can leverage to improve donor engagement.</p><h3>Dataset Overview</h3><p>The dataset consists of two primary tables</p><ol><li><strong>Donation_Data</strong> — Contains donor names, donation amounts, and job fields</li><li><strong>Donor_Data2</strong> — Holds demographic details, donation frequency, car ownership, and personal interests.</li></ol><p>By analyzing these datasets, we aim to answer critical questions like:</p><ul><li>Who are the top donors?</li><li>What professions contribute the most?</li><li>Does donation frequency vary by gender?</li><li>Do car ownership and entertainment preferences influence donations?</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2f6e7925b6f8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[EXCEL ANALYSIS OF ROAD ACCIDENTS IN GREAT BRITAIN BETWEEN THE YEAR 2021–2022]]></title>
            <link>https://medium.com/@isaiahadewuyi6/excel-analysis-of-road-accidents-in-great-britain-between-the-year-2021-2022-089c5be85f56?source=rss-5acc1e609fcc------2</link>
            <guid isPermaLink="false">https://medium.com/p/089c5be85f56</guid>
            <category><![CDATA[data-visualization]]></category>
            <category><![CDATA[data-analysis]]></category>
            <category><![CDATA[excel]]></category>
            <category><![CDATA[excel-project]]></category>
            <dc:creator><![CDATA[Isaiah Adewuyi]]></dc:creator>
            <pubDate>Thu, 06 Feb 2025 03:05:27 GMT</pubDate>
            <atom:updated>2025-02-06T03:05:27.828Z</atom:updated>
            <content:encoded><![CDATA[<p>I started my data analysis journey with learning Excel functions and formats. I learned basic functions and formulars, conditional formatting and functions, the various lookup functions that we have, the logical functions and pivot table and charts.</p><p>At the end of all this, i was taught how to use power query and to build a dashboard. I worked on my first solo project and i got the ROAD ACCIDENT DATA from <a href="http://kaggle.com/">Kaggle.com</a> which is a site for downloading database to work on.</p><p>I got the data on the causes of road accidents in Britain, the major mode of accident and the weather conditions that causes most accidents. I cleaned my data after formatting it as a table, i was able to see some error which were corrected. Then afterwards, i used power query to check if there are any more errors and to fix the errors that might still be there. Satisfied there were no errors, i proceeded towards using my pivot table to get the data for my dashboard.</p><p>Firstly, i worked on the KPIs, i got the total casualty, the slight casualty, the serious and fatal casualty. I also was able to separate the mode of accidents viz car, bus, van, bike, tractor and others. And from the KPIs, it was deduced that the car caused more accidents than other vehicular type and slight casualty was low when compared to the serious and fatal casualty.</p><p>Since we are looking at two years interval in our data, i separated the number of casualty per year i.e 2021–2022. Then i used the trend line chart since we are comparing two different years. And it was inferred from it that 2021 recorded more accidents than 2022.</p><p>I also worked on the number of casualties that occurs on the different types of road we have in Britain. I also calculated for the number of casualty by the road surface. Then i finally used doughnut charts to get the number of casualty by light conditions and also the rural — urban casualties.</p><p>Below is my dashboard</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/708/1*q9Y6wTB8ksdhOFhagYt4bQ.png" /><figcaption>ROAD ACCIDENTS IN GREAT BRITAIN</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=089c5be85f56" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>