<?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 Viruli Kavinima Jayawardana on Medium]]></title>
        <description><![CDATA[Stories by Viruli Kavinima Jayawardana on Medium]]></description>
        <link>https://medium.com/@43-adc-0036?source=rss-b70478597b82------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*dmbNkD5D-u45r44go_cf0g.png</url>
            <title>Stories by Viruli Kavinima Jayawardana on Medium</title>
            <link>https://medium.com/@43-adc-0036?source=rss-b70478597b82------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 19 May 2026 19:06:46 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@43-adc-0036/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[Box Office Success is it guaranteed through Big Budgets??]]></title>
            <link>https://medium.com/@43-adc-0036/box-office-success-is-it-guaranteed-through-big-budgets-47c2f6e59faa?source=rss-b70478597b82------2</link>
            <guid isPermaLink="false">https://medium.com/p/47c2f6e59faa</guid>
            <dc:creator><![CDATA[Viruli Kavinima Jayawardana]]></dc:creator>
            <pubDate>Sat, 16 May 2026 10:19:44 GMT</pubDate>
            <atom:updated>2026-05-16T10:19:44.315Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Introduction</strong></p><p>Modern cinema is dominated by big budget movies. Stunning movies filled with famous actors, advanced special effects and massive marketing campaigns are created every year in film studios with over a budget of hundreds of millions of dollars. These films are expected to become global successes and generated enormous profits. Yet the real question is whether spending more money will really guarantee higher box office revenue?</p><p>I’ve always been curious about why some movies become huge box office successes while others fail, even when they have very large production budgets. This interest of understanding the actual reason behind the success of a movie led me to explore a movie related dataset. Rather than studying every movie in the dataset, I decided to focus specifically on high-budget films with production budgets exceeding 100 million dollars, since these movies represent the biggest investments in the film industry and often attract the highest expectations from audiences and studios alike.</p><p>With the help of R programming, I was able to clean and explore the large dataset and was able to create an interactive visualization and build a simple linear regression model to investigate whether revenue can be predicted through movie budgets. By analyzing the dataset, I was able to identify several interesting patterns and relationships that provided a clearer understanding of the different factors that can influence the success of high-budgeted movies.</p><p><strong>Understanding the dataset.</strong></p><p>The dataset used for this project contains detailed information about movies, including:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/780/1*EV6emkMRViMkZPd3uHAQDw.png" /></figure><p>· Movie title</p><p>· Budget</p><p>· Revenue</p><p>· Popularity</p><p>· Vote average</p><p>· Runtime</p><p>· Release date</p><p>For this analysis, the two most important variables were budget and revenue. When we look at movies the movie budget is the thing we are trying to figure out how it affects something. In this case the movie budget was what I was looking at to see how it changes the revenue. So, the movie budget was, like the thing I was looking at and the revenue was what happens because of the movie budget. I wanted to see how movie earnings go up or down when the movie budget goes up or down. These variables were selected because they showed a clear numerical relationship that was suitable for predicting movie performance. In addition to these variables, the dataset also included popularity scores and movie ratings, which provided deeper insights into how audiences responded to different films and how these factors may influence overall movie success.</p><p><strong>Data Cleaning and preparation</strong></p><p>The first step of my analysis was cleaning and preparing the dataset to ensure the data was accurate, organized and suitable for further analysis. Displaying data from the real world can be marred by missing data or inconsistent data. The first thing to be done was to delete rows that had NAs with the function “na.omit()”. This ensured that the analysis only included complete records. Secondly, movies that have a zero budget and revenue were excluded, as this would destroy the regression model and the visualizations. The data was filtered and a new variable “profit” was created using the formular:</p><p>Profit = Revenue — Budget</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/747/1*W-_LTqamN450xnXJNRLRSA.png" /></figure><p>This allowed me to determine how much profit each movie made by comparing its total revenue with the amount spent on production. The release date was also converted into a proper date format and the year of the release was extracted in order to investigate trends over time.</p><p>Finally, only movies with budgets greater than hundred million dollars were selected for the final analysis. This enabled the project to specifically target big budget movies.</p><p><strong>Understanding how movies make money. Surveying movie Revenue Patterns</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/815/1*Q0PHoOqfVPNqsVfb_gd54w.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/780/1*_1zsPU3mwNghfxDBIF1izA.png" /></figure><p>Once the data set was cleaned, the initial step was to produce a histogram of movie revenues to get a better idea of the distribution of movie revenues in the data set. This graph showed that while many high-budgeted films made a lot of money, not many had a very big hit at the box office. The distribution was very skewed and had a lot of blockbusters with really high revenues.</p><p>The other eye catcher was that the profit distribution graph. Some films managed to become super-hit, whereas some took a hit even with a huge budget. This illustrates the monetary dangers involved in making costly movies.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/643/1*JHqsuaPJrstZzZCQeqVHjA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/750/1*ehJws12F769tsPIZurhV6g.png" /></figure><p><strong>Relationship between Budget and Revenue</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/809/1*j1PediVOfFSncTsUkuJYng.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/796/1*fCtoCVdDi6imrMP08tut1Q.png" /></figure><p>The most significant visualization created for this creation was the scatter plot of movie budget to movie revenue.</p><p>All the points are presenting a movie. An overall trend of the two variables was determined by the use of the regression line.</p><p>There is a definite positive correlation between the budget and revenue. In general, movies with larger budgets tended to generate higher revenues. This suggests that greater financial investment can contribute to better box office success through improved production quality, advanced visual effects, well-known actors, and stronger marketing campaigns. There were some exceptions, though, according to the graph. The number of movies that were not performing well despite having a high budget was on one hand and those that were doing well with lower budget on the other. That is a clear indication that budget in itself doesn’t guarantee the success of a movie.</p><p>Factors such as:</p><p>• Story quality</p><p>• Audience reception</p><p>• Competition</p><p>• Marketing effectiveness</p><p>• Franchise popularity</p><p>Additionally, can have a significant impact on revenue results.</p><p><strong>Popularity and revenue</strong></p><p>The scatter plot that I made to figure about famous movies and their earnings are connected. I wanted to find out if popular movies usually earn money. Popular movies make money on average. I looked at the plot to understand this better. In general, we see that the more popular the movie, the more it will generate revenue in the visualization.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/780/1*iZ0ybaJv3EDYsCf3DPyiOw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/752/1*hBL4XZjazqvbfoQRjzETSQ.png" /></figure><p>The dashboard also displays the top 10 movies by the top 10 earning movies. They are distinguished by the fact that they have made much more money than most films and many are part of a popular series or made on a big scale. This visualization clearly demonstrates how a small number of blockbuster films can dominate worldwide box office earnings.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/732/1*21tJYdYXQOvaFLHtfelZiw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/526/1*v5bUtiDt1_vz4qRtWrPFHA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/769/1*PxQWgMEE6Vty7RE_kmtL7w.png" /></figure><p>The number of films with high budget was plotted on a time series graph. The graph indicated that production of blockbuster movies increased rapidly as time progressed. It is safe to assume that the rise of the big productions has been spurred by the development of technology, streaming services and international audiences.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/780/1*tBcSdts91BaVBeb6K-5kMA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/833/1*dgkeFKP7Q9V-E-f-qeZZkA.png" /></figure><p>The growth of the scale and competition of the film industry in the modern world is vividly reflected in this trend.</p><p>I have developed a Simple Linear Regression using the predictor variable, budget. The general form of the regression model was: Whereas, all the revenue is equal to a + b (Budget).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/751/1*jw87UMJHdglGiJzGB3mv5g.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/780/1*CsTv0MhW-65j8WXe-L7rIQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/780/1*vLTVz1V1Or0ZOu_8NzN2ng.png" /></figure><p>This model can be used to make assumptions about the effect of changes in the movie budget. A positive relationship between budget and revenue was shown by the regression line in the visualization.</p><p><strong>To comprehend the Regression Results.</strong></p><p>Several important outputs and visualized through this regression line. The R-squared value is a good explanation of the variation in revenue by budget. The closer the R-squared the better the relationship between the variables. A relationship between budget and revenue that is significant, determined by the p-value. The results of the analysis have indicated that the budget has some significant influence on the revenue since the p value is very small.</p><p>Movie makers believe that a bigger budget means profit. This is what the numbers tell us about movie budgets and how money they make. The regression coefficients show a connection, between movie budgets and their earnings. Movie budgets and earnings are closely linked, according to these numbers. Some movies did well and some did poorly. Other factors such as audience interest, storyline quality, marketing strategies, competition, and franchise popularity also play a major role in influencing a movie’s performance at the box office.</p><p><strong>Interactive Dashboard</strong></p><p>The interactive dashboard developed using R programming helped uncover important aspects of the movie industry while also revealing deeper patterns and hidden insights within the data.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/780/1*AaBudtNdEiA1YwWLTc4GzQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/651/1*_Yl9Al69x0T1mrvcjHYdNA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/410/1*q8JKK-Pta-zNBrk4x-NuXw.png" /></figure><p>The dashboard enables the users to:</p><p>• Filter movies by budget</p><p>• Rate movies by them</p><p>• Explore inactive charts</p><p>• View regression analysis</p><p>• Examine movie tables</p><p>The dashboard gives the opportunity to for the users to engage directly with the data and investigate patterns on their own. This rendered the analysis more interesting and appealing.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/780/1*EV6emkMRViMkZPd3uHAQDw.png" /></figure><p><strong>Disputes Faced During the Project</strong></p><p>One of the first challenges I faced was cleaning the dataset and handling missing values, as the dataset contained incomplete and inconsistent information that required careful preprocessing before the analysis could begin.<strong> </strong>There were movies that only had a limited amount of information so they needed to be filtered and preprocessed. The most challenging aspect of it was dealing with the movie budgets and revenues. It was necessary to have good visualization techniques to be able to show these values clearly. I have used R programming to do all of this. The project gave me a lot of hands-on experience. I got to work with data analysis and data visualization.</p><p><strong>Conclusion</strong></p><p>This analysis looked at whether a big movie budget means the movie will do well at the box office. This is not a guess it is proved. I have facts and figures to back it up. It is based on data. The numbers show it is true. Movies that cost a lot to make often have revenues. The connection, between budgeted movies and higher revenues is clear. The analysis also shows, however, that budget is not sufficient to guarantee successes. To make a movie successful, all aspects of it (film interest, popularity, storytelling capability, market condition etc.) play a vital role. This project is about using R programming to turn data into something that actually makes sense. It does this by telling a story with the data and using pictures to help people understand it. The assessment shows how R programming can do this in an effective way.</p><p>In summary, the assignment represents a way to showcase the application of data science tools to solve problems from the entertainment industry, in a fun and approachable manner.</p><p><a href="https://bometh.shinyapps.io/movieapp/">Click here to explore the interactive movie analytics dashboard:</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=47c2f6e59faa" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>