Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Bubble scatterplot of movie critical acclaim compared to worldwide box office gross
// Create accessors that specify the three dimensions of data to visualize
function x(d) {return .01 * parseInt(d['rt'])}
function y(d) {return parseInt(d['worldwide-gross'].replace(/,/g,'')) / 1e6}
function radius(d) {return parseInt(d['budget'].replace(/,/g,''))}
function color(d) {return parseFloat(d['profitability'])}
// Set the margins
var margin = {top: 20, right: 30, bottom: 30, left: 70},
width = 800 - margin.left - margin.right,
height = 500 - margin.top - margin.bottom;
// Create a list of heatmap colors, and define a scale for colors
colors = ["#6363FF", "#6373FF", "#63A3FF", "#63E3FF", "#63FFFB", "#63FFCB",
"#63FF9B", "#63FF6B", "#7BFF63", "#BBFF63", "#DBFF63", "#FBFF63",
"#FFD363", "#FFB363", "#FF8363", "#FF7363", "#FF6364"];
var heatmap = d3.scale.linear()
.domain(d3.range(0,1,1.0 / (colors.length-1)))
.range(colors)
// Set the output ranges of x, y, color, and radius scales
var xScale = d3.scale.linear()
.range([0, width]),
yScale = d3.scale.linear()
.range([height, 0]),
radiusScale = d3.scale.linear()
.range([5, 17]);
colorScale = d3.scale.log()
.range([0, 1])
// Create axis templates
var xAxis = d3.svg.axis()
.tickFormat(d3.format('%'))
.scale(xScale)
.orient('bottom')
var yAxis = d3.svg.axis()
.ticks(6)
.scale(yScale)
.orient('left')
// Select and size the svg canvas
var chart = d3.select('svg')
.attr('width', width + margin.left + margin.right)
.attr('height', height + margin.top + margin.bottom)
.append('g')
.attr('transform', 'translate(' + margin.left + ',' + margin.top + ')')
// Import data
d3.csv('data.csv', function(data){
// Filter out entries with blank values for worldwide gross,
// Rotten Tomatoes score, budget, or profitability
data = data.filter(function(d){
if (x(d) && y(d) && radius(d) && color(d)) return true
else return false
})
// Set input domains of data
xScale.domain([-.02,d3.max(data, function(d) {return x(d)})])
yScale.domain([-40, d3.max(data, function(d) {return y(d) }) + 75])
radiusScale.domain(d3.extent(data, function(d) {return radius(d)}))
colorScale.domain(d3.extent(data, function(d) {return color(d)}))
// Create x axis
chart.append('g')
.attr('class', 'x axis')
.attr('transform', 'translate(0,' + height + ')')
.call(xAxis)
.append('text')
.attr('class', 'label')
.attr('text-anchor', 'end')
.attr('x', width - 20)
.attr('y', 30)
.text('Rotten Tomatoes score')
// Create y axis
chart.append('g')
.attr('class', 'y axis')
.call(yAxis)
.append('text')
.attr('class', 'label')
.attr('text-anchor', 'end')
.attr('transform', 'rotate(-90)')
.attr('y', -50)
.text('Worldwide box office gross (million USD)')
// Create and size scatterplot bubbles
chart.selectAll('.circle')
.data(data)
.enter().append('circle')
.attr('class', 'circle')
.attr('r', function(d) { return radiusScale(radius(d))} )
.attr('cx', function(d) { return xScale(x(d))})
.attr('cy', function(d) { return yScale(y(d))})
.attr('stroke', 'black')
.attr('stroke-width', '1px')
.style('fill', function(d)
{return heatmap(colorScale(color(d)))})
.on('mouseover', function(d) {
d3.select(this).attr('stroke-width', '2px')
focus.transition()
.duration(200)
.style('display', null)
tooltip(d)})
.on('mouseout', function(d) {
d3.select(this).attr('stroke-width', '1px')
focus.transition()
.duration(200)
.style('display', 'none')
})
var focus = chart.append('g')
focus.append('text')
.attr('class', 'y1')
.style('stroke', 'white')
.style('stroke-width', '3.5px')
.attr('dx', 8)
.attr('dy', '-.3em')
focus.append('text')
.attr('class', 'y2')
.attr('dx', 8)
.attr('dy', '-.3em')
function tooltip(d) {
focus.select('text.y1')
.style('text-anchor', (x(d) > .75) ? 'end' : 'start')
.attr('transform', 'translate('
+ xScale(x(d)) + ','
+ yScale(y(d)) + ')')
.text(d.title)
focus.select('text.y2')
.style('text-anchor', (x(d) > .75) ? 'end' : 'start')
.attr('transform', 'translate('
+ xScale(x(d)) + ','
+ yScale(y(d)) + ')')
.text(d.title)
}
})
title distributor rt metacritic average-critic rt-audience metacritic-audience avg-audience-meta story genre opening-weekend theater-count-opening-weekend box-office-avg-per-cinema domestic-gross foreign-gross worldwide-gross budget profitability percent-budget-recovered-opening-wknd exclude oscar bafta notes source
About Time Universal 69 55 62 83 80 82 1,076,250 1,280 841 15,322,921 71,777,528 87,100,449
The Fifth Estate Buena Vista 37 49 43 40 63 52 1,673,351 1,769 946 3,255,008 5,300,000 8,555,008 28 30.55% 5.98%
Parker FilmDistrict 41 43 42 49 57 53 7,008,222 2,238 3,131 17,616,641 28,600,000 46,216,641 35 132.05% 20.02%
The ToDo List CBS 52 61 57 48 58 53 1,579,402 591 2,672 3,491,669 74,556 3,566,225 1.5 237.75% 105.29%
Grown Ups 2 Sony 7 19 13 55 30 43 41,508,572 3,491 11,890 133,668,525 113,315,753 246,984,278 80 308.73% 51.89%
After Earth Sony 11 33 22 38 43 41 27,520,040 3,401 8,092 60,522,097 183,321,030 243,843,127 130 187.57% 21.17%
Captain Phillips Sony 93 83 88 92 82 87 25,718,314 3,143 8,183 106,244,151 110,241,686 216,485,837 55 393.61% 46.76%
Escape Plan Lionsgate / Summit 49 49 49 59 71 65 9,885,732 2,883 3,429 25,132,228 108,243,107 133,375,335 50 266.75% 19.77% IMDB estimated budget http://www.imdb.com/title/tt1211956/?ref_=nv_sr_1
Prisoners Warner Bros 82 74 78 88 82 85 20,817,053 3,290 6,327 61,002,302 61,124,385 122,126,687 46 265.49% 45.25%
Stoker Fox Searchlight 68 58 63 61 67 64 160,547 275 584 1,714,221 10,363,220 12,077,441 12 100.65% 1.34%
Walking with Dinosaurs Fox 25 37 31 41 34 38 7,091,938 3,243 2,187 34,691,563 78,500,000 113,191,563 80 141.49% 8.86%
Love is All You Need Sony Classics 74 60 67 60 77 69 36,746 101 364 1,631,709 8,385,225 10,016,934 5.5 182.13% 0.01
The Kings of Summer CBS 76 61 69 77 75 76 58,962 65 907 1,315,590 n/a 1,315,590 2 500.85% 1.84%
Iron Man 3 Buena Vista 78 62 70 80 64 72 action 174,144,585 4,253 40,946 409,013,994 806,426,000 1,215,439,994 200 607.72% 87.07%
Despicable Me 2 Universal 74 62 68 85 75 80 83,517,315 4,003 20,864 368,061,265 596,700,000 964,761,265 76 1269.42% 109.89%
THG: Catching Fire Lionsgate 90 75 83 92 80 86 action 158,074,286 4,163 37,971 420,021,917 435,873,393 855,895,310 130 658.38% 121.60%
The Desolation of Smaug Warner Bros 75 66 71 85 79 82 73,645,197 3,928 18,749 252,326,338 595,000,000 847,326,338 225 376.59% 32.73% budget reported in LA Times http://www.latimes.com/entertainment/news/laetct-box-office-hobbit-desolation-smaug-20131216,0,3005168.story#axzz2o6lzEKSk
Frozen Buena Vista 89 74 82 89 82 86 243,390 3,742 65 347,899,011 462,500,000 810,399,011 150 540.27% 0.16%
Fast & Furious 6 Universal 69 61 65 84 70 77 action 97,375,245 3,771 25,822 238,679,850 550,000,000 788,679,850 160 492.92% 60.86%
Monsters University Buena Vista 78 65 72 83 78 81 82,429,469 4,004 20,587 268,492,764 475,066,843 743,559,607 200 371.78% 41.21% budget reported http://www.shockya.com/news/2013/06/30/boxofficereport-monsters-university-schools-the-heat-and-white-house-down/
Gravity Warner Bros 97 96 97 85 81 83 55,785,112 3,820 14,603 261,208,962 427,300,000 688,508,962 100 688.51% 55.79%
Man of Steel Warner Bros 55 55 55 76 77 77 action 116,619,362 4,207 27,720 291,045,518 377,000,000 668,045,518 225 296.91% 51.83%
Thor: The Dark World Buena Vista 65 54 60 83 77 80 85,737,841 3,841 22,322 204,509,243 428,400,000 632,909,243 170 372.30% 50.43%
The Croods Fox 70 55 63 79 72 76 43,639,736 4,065 10,735 187,168,425 400,036,243 587,204,668 135 434.97% 32.33%
World War Z Paramount 67 63 65 73 68 71 66,411,834 3,607 18,412 202,359,711 337,648,165 540,007,876 190 284.21% 34.95%
Oz The Great & Powerful Buena Vista 59 44 52 57 61 59 79,110,453 3,912 20,223 234,911,825 258,400,000 493,311,825 215 229.45% 36.80%
Star Trek Into Darkness Paramount 87 72 80 90 79 85 70,165,559 3,907 17,959 228,778,661 238,586,585 467,365,246 190 245.98% 36.93%
The Wolverine Fox 69 60 65 70 67 69 53,113,752 3,924 13,536 132,556,852 282,271,394 414,828,246 120 345.69% 44.26%
Pacific Rim Warner Bros 71 64 68 78 75 77 37,285,325 3,285 11,350 101,802,906 309,200,000 411,002,906 190 216.32% 19.62%
G.I. Joe: Retaliation Paramount 28 41 35 49 54 52 40,501,814 3,734 10,847 122,523,060 253,217,645 375,740,705 130 289.03% 31.16%
The Hangover Part III Warner Bros 19 30 25 45 55 50 41,671,198 3,565 11,689 112,200,072 249,800,000 362,000,072 103 351.46% 40.46%
Now You See Me Lionsgate / Summit 50 50 50 71 69 70 29,350,389 3,082 9,523 117,723,989 234,000,000 351,723,989 75 468.97% 39.13%
The Great Gatsby Warner Bros 49 55 52 68 73 71 50,085,185 3,550 14,109 144,840,419 206,200,000 351,040,419 105 334.32% 47.70%
The Smurfs 2 Sony 14 34 24 58 33 46 17,548,389 3,867 4,538 71,017,784 276,527,576 347,545,360 105 331.00% 16.71%
The Conjuring Warner Bros 86 68 77 83 77 80 horror 41,855,326 3,115 13,437 137,400,141 180,600,000 318,000,141 20 1590.00% 209.28%
A Good Day to Die Hard Fox 14 28 21 42 48 45 24,834,845 3,555 6,986 67,349,198 237,304,984 304,654,182 92 331.15% 26.99%
Oblivion Universal 53 54 54 61 70 66 37,054,485 3,792 9,772 89,107,235 197,061,337 286,168,572 120 238.47% 30.88%
Elysium TriStar 68 61 65 60 67 64 29,807,393 3,284 9,077 93,050,117 193,090,583 286,140,700 115 248.82% 25.92%
Turbo Fox 67 58 63 67 61 64 21,312,625 3,809 5,595 83,028,128 199,542,554 282,570,682 135 209.31% 15.79%
We're the Millers Warner Bros 47 44 46 73 69 71 26,419,396 3,445 7,669 150,394,119 119,600,000 269,994,119 37 729.71% 71.40%
Epic Fox 64 52 58 66 65 66 33,531,068 3,894 8,611 107,518,682 160,907,952 268,426,634 100 268.43% 33.53%
The Lone Ranger Buena Vista 31 37 34 55 64 60 29,210,849 3,904 7,482 89,302,115 171,200,000 260,502,115 215 121.16% 13.59%
Cloudy with a Chance of Meatballs 2 Sony 70 59 65 66 73 70 34,017,930 4,001 8,502 118,870,505 138,900,000 257,770,505 78 330.48% 43.61%
The Heat Fox 66 60 63 73 64 69 39,115,043 3,184 12,285 159,582,188 70,348,583 229,930,771 43 534.72% 90.97%
Hansel & Gretel Paramount 15 21 18 54 57 56 19,690,956 3,375 5,834 55,703,475 170,000,000 225,703,475 50 451.41% 39.38%
Planes Buena Vista 26 39 33 51 31 41 22,232,291 3,716 5,983 90,288,712 129,500,000 219,788,712 50 439.58% 44.46%
White House Down Sony 50 52 51 63 58 61 24,852,258 3,222 7,713 73,103,784 132,262,953 205,366,737 150 136.91% 16.57%
Percy Jackson: Sea of Monsters Fox 40 39 40 58 54 56 14,401,054 3,080 4,676 68,558,662 131,290,761 199,849,423 90 222.05% 16.00%
Jack the Giant Slayer Warner Bros 52 51 52 56 62 59 27,202,226 3,525 7,717 65,187,603 132,500,000 197,687,603 195 101.38% 13.95%
The Wolf of Wall Street Paramount 77 75 76 83 80 82 18,361,578 2,557 7,181 98,508,822 77,100,000 175,608,822 100 175.61% 18.36%
Identity Thief Universal 19 35 27 55 48 52 34,551,025 3,230 10,697 134,506,920 39,458,090 173,965,010 35 497.04% 98.72%
The Secret Life of Walter Mitty Fox 48 54 51 76 76 76 12,765,508 2,922 4,369 56,342,680 112,700,000 169,042,680 90 187.83% 14.18%
Lee Daniels' The Butler Weinstein 73 66 70 80 65 73 24,637,312 3,330 7,399 116,597,286 51,111,019 167,708,305 30 559.03% 82.12%
Anchorman 2 Paramount 75 61 68 62 64 63 26,232,425 3,507 7,480 123,803,339 41,700,000 165,503,339 50 331.01% 52.46%
American Hustle Sony 93 90 92 79 76 78 740,455 2,629 282 127,000,429 35,399,522 162,399,951 40 406.00% 1.85%
Insidious Chapter 2 FilmDistrict 37 40 39 60 68 64 40,272,103 3,155 12,765 83,586,447 77,916,585 161,503,032 5 3230.06% 805.44%
Olympus Has Fallen FilmDistrict 48 41 45 68 58 63 30,373,794 3,106 9,779 98,925,640 62,100,000 161,025,640 70 230.04% 43.39%
Bad Grandpa Paramount 61 54 58 66 67 67 32,055,177 3,345 9,583 102,003,019 47,000,000 149,003,019 15 993.35% 213.70%
Mama Universal 66 57 62 57 64 61 28,402,310 2,781 10,213 71,628,180 74,800,000 146,428,180 15 976.19% 189.35%
Red 2 Lionsgate / Summit 42 47 45 64 68 66 18,048,422 3,016 5,984 53,262,560 88,816,411 142,078,971 84 169.14% 21.49%
2 Guns Universal 64 55 60 68 67 68 27,059,130 3,028 8,936 75,612,460 56,327,951 131,940,411 61 216.30% 44.36%
12 years a slave Fox Searchlight 96 97 97 92 81 87 drama 923,715 1,474 627 49,280,178 78,900,000 128,180,178 20 640.90% 4.62%
This is the End Sony 83 67 75 73 72 73 20,719,162 3,055 6,782 101,470,202 24,571,120 126,041,322 32 393.88% 64.75%
47 Ronin Universal 12 29 21 56 61 59 9,910,310 2,690 3,684 38,055,840 83,700,000 121,755,840 175 69.57% 5.66%
Last Vegas CBS 47 48 48 62 66 64 16,334,566 3,237 5,046 63,749,942 53,991,905 117,741,847 28 420.51% 58.34%
Warm Bodies Lionsgate / Summit 80 59 70 74 69 72 20,353,967 3,009 6,764 66,380,662 50,600,000 116,980,662 35 334.23% 58.15%
Ender's Game Lionsgate / Summit 61 51 56 72 69 71 27,017,351 3,407 7,930 61,737,191 50,494,282 112,231,473 110 102.03% 24.56%
Gangster Squad Warner Bros 32 40 36 59 64 62 17,070,347 3,103 5,501 46,000,903 59,200,000 105,200,903 60 175.33% 28.45%
Riddick Universal 58 49 54 56 71 64 19,030,375 3,117 6,105 42,025,135 56,312,160 98,337,295 38 258.78% 50.08%
Evil Dead TriStar 62 57 60 64 74 69 25,775,847 3,025 8,521 54,239,856 43,303,096 97,542,952 17 573.78% 151.62%
42 Warner Bros 78 62 70 86 73 80 27,487,144 3,405 8,073 95,020,213 n/a 95,020,213 40 237.55% 68.72%
Blue Jasmine Sony Classics 91 78 85 81 77 79 612,064 1,283 477 33,201,545 61,600,000 94,801,545 18 526.68% 3.40% IMDB estimated budget http://www.imdb.com/title/tt2334873/?ref_=nv_sr_1
Lone Survivor Universal 74 60 67 n/a 75 75 90,872 3,285 28 93,914,921 n/a 93,914,921 40 234.79% 0.23%
The Internship Fox 34 42 38 54 59 57 17,325,307 3,399 5,097 44,672,764 48,820,080 93,492,844 58 161.19% 29.87%
Saving Mr. Banks Buena Vista 81 65 73 89 76 83 413,373 2,671 155 79,158,310 12,100,000 91,258,310 35 260.74% 1.18%
Free Birds Relativity 18 38 28 47 37 42 15,805,237 3,736 4,231 55,435,490 35,400,000 90,835,490 55 165.16% 28.74%
The Mortal Instruments: City of Bones Sony / Screen Gems 12 33 23 61 64 63 9,336,957 3,118 2,995 31,165,421 59,400,000 90,565,421 60 150.94% 15.56%
Rush Universal 89 75 82 92 85 89 187,289 2,308 81 26,947,624 63,300,000 90,247,624 38 237.49% 0.00
The Purge Universal 37 41 39 37 52 45 34,058,360 2,591 13,145 64,473,115 24,855,512 89,328,627 3 2977.62% 1135.28%
Pain and Gain Paramount 49 45 47 48 66 57 20,244,505 3,303 6,129 49,875,291 36,300,000 86,175,291 26 331.44% 77.86%
Philomena Weinstein 92 76 84 91 79 85 128,435 1,225 105 33,220,299 51,647,365 84,867,664 12 707.23% 1.07%
Carrie Sony / Screen Gems 49 53 51 48 68 58 16,101,552 3,157 5,100 35,266,619 48,762,638 84,029,257 30 280.10% 53.67%
Scary Movie 5 Weinstein / Dimension 4 11 8 41 25 33 14,157,367 3,402 4,161 32,015,787 46,362,957 78,378,744 20 391.89% 70.79%
R.I.P.D. Universal 13 25 19 39 44 42 12,691,415 2,852 4,450 33,618,855 44,705,365 78,324,220 130 60.25% 9.76%
The Best Man Holiday Universal 67 59 63 90 56 73 30,107,555 2,041 14,751 70,525,195 1,100,000 71,625,195 17 421.32% 177.10%
Safe Haven Relativity 12 34 23 68 54 61 21,401,594 3,223 6,640 71,349,120 n/a 71,349,120 28 254.82% 76.43%
The Counselor Fox 34 48 41 25 49 37 7,842,930 3,044 2,577 16,973,715 53,263,934 70,237,649 25 280.95% 31.37%
The Call TriStar 43 51 47 66 64 65 17,118,745 2,507 6,828 51,872,378 16,700,000 68,572,378 13 527.48% 131.68%
Side Effects Open Road Films 84 75 80 71 71 71 9,303,145 2,605 3,571 32,172,757 31,200,000 63,372,757 30 211.24% 31.01% IMDB estimated budget http://www.imdb.com/title/tt2053463/?ref_=nv_sr_1
Runner Runner Fox 9 36 23 34 46 40 7,706,712 3,026 2,547 19,316,646 43,358,449 62,675,095 30 208.92% 25.69%
Beautiful Creatures Warner Bros 37 52 45 34 62 48 7,582,595 2,950 2,570 19,452,138 40,600,000 60,052,138 60 100.09% 12.64%
A Haunted House Open Road Films 10 20 15 54 51 53 18,101,682 2,160 8,380 40,041,683 19,900,000 59,941,683 2.5 2397.67% 724.07%
KickAss 2 Universal 29 41 35 62 72 67 13,332,955 2,945 4,527 28,795,985 30,760,119 59,556,104 28 212.70% 47.62%
Quartet Weinstein 80 64 72 65 62 64 47,122 725 65 18,390,117 41,130,181 59,520,298 11 541.09% 0.00 IMDB estimated budget http://www.imdb.com/title/tt1441951/?ref_=nv_sr_1
The Last Stand Lionsgate 60 54 57 55 66 61 6,281,433 2,913 2,156 12,050,299 36,280,458 48,330,757 45 107.40% 13.96%
The Host Open Road Films 8 35 22 50 47 49 10,600,112 3,202 3,310 26,627,201 21,600,000 48,227,201 40 120.57% 26.50%
The World's End Focus Features 89 81 85 73 76 75 8,811,790 1,553 5,674 26,004,851 20,084,436 46,089,287 20 230.45% 44.06%
21 and Over Relativity 28 34 31 49 53 51 8,754,168 2,771 3,159 25,682,380 19,900,000 45,582,380 13 350.63% 67.34%
Snitch Lionsgate / Summit 56 51 54 63 59 61 13,167,607 2,511 5,244 42,930,462 n/a 42,930,462 15 286.20% 87.78% IMDB estimated budget http://www.imdb.com/title/tt0882977/?ref_=nv_sr_1
Jobs Open Road Films 27 44 36 85 49 67 6,713,900 2,381 2,820 16,131,410 19,800,000 35,931,410 12 299.43% 55.95%
The Place Beyond the Pines Focus Features 81 68 75 75 78 77 279,457 1,584 176 21,403,519 14,082,089 35,485,608 15 236.57% 0.02
August: Osage County Weinstein 65 58 62 72 70 71 179,302 2,411 74 26,514,531 8,940,890 35,455,421 25 141.82% 0.01 IMDB estimated budget http://www.imdb.com/title/tt1322269/?ref_=nv_sr_1
Spring Breakers A24 65 63 64 39 56 48 263,002 1,379 191 14,124,284 17,600,000 31,724,284 5 634.49% 5.26%
Homefront Open Road Films 40 39 40 66 57 62 6,915,241 2,570 2,691 20,158,898 11,200,000 31,358,898 22 142.54% 31.43%
Delivery Man Buena Vista 38 44 41 52 60 56 7,944,977 3,036 2,617 30,131,216 1,200,000 31,331,216 26 120.50% 30.56%
Dallas Buyers Club Focus Features 94 84 89 92 82 87 drama 260,865 1,110 235 24,845,161 6,000,000 30,845,161 5 616.90% 5.22%
Don Jon Relativity 81 66 74 64 72 68 8,677,009 2,422 3,583 24,477,704 5,973,052 30,450,756 6 507.51% 144.62%
Her Warner Bros 94 90 92 85 84 85 drama 260382 1,729 151 24,124,034 6241342 30,365,376 23 132.02% 1.13%
Movie 43 Relativity 4 18 11 25 31 28 4,805,878 2,023 2,376 8,840,453 21,085,935 29,926,388 6 498.77% 80.10%
Grudge Match Warner Bros 28 35 32 57 63 60 7,021,993 2,856 2,459 29,236,293 n/a 29,236,293 40 73.09% 17.55%
Mandela: Long Walk to Freedom Weinstein 58 60 59 73 57 65 84,283 1,010 83 8,079,871 19,010,750 27,262,070 35 77.89% 0.24% http://online.wsj.com/news/articles/SB10001424052702303985504579205952027833732
Dark Skies Weinstein / Dimension 39 51 45 50 61 56 8,189,166 2,313 3,540 17,418,667 9,003,080 26,421,747 3.5 754.91% 233.98%
Enough Said Fox Searchlight 96 79 88 78 79 79 232,800 835 279 17,550,872 6,867,213 24,418,085 8 305.23% 2.91%
Trance Fox Searchlight 68 61 65 64 70 67 131,145 443 296 2,328,743 21,932,826 24,261,569 20 121.31% 0.66%
Inside Llewyn Davis CBS 94 92 93 76 75 76 405,411 729 556 11,995,990 10,100,000 23,206,948 11 210.97% 3.69% rumoured budget
The Way, Way Back Fox Searchlight 85 68 77 85 79 82 552,788 1,001 552 21,506,546 1,692,106 23,198,652 4.6 504.32% 12.02% IMDB estimated budget http://www.imdb.com/title/tt1727388/?ref_=nv_sr_1
Baggage Claim Fox Searchlight 14 34 24 56 27 42 9,031,102 2,230 4,050 21,569,509 887,000 22,456,509 8.5 264.19% 106.25% IMDB estimated budget http://www.imdb.com/title/tt1171222/?ref_=nv_sr_1
The Big Wedding Lionsgate 7 28 18 42 42 42 7,591,663 2,633 2,883 21,819,348 n/a 21,819,348 35 62.34% 21.69%
The Sapphires Weinstein 91 67 79 76 79 78 38,372 126 305 2,450,867 17,972,761 20,423,628 9 226.93% 0.00
Broken City Fox 28 49 39 42 55 49 8,268,908 2,622 3,154 19,701,164 n/a 19,701,164 35 56.29% 23.63%
The Bling Ring A24 60 66 63 34 64 49 214,395 650 330 5,845,732 13,300,000 19,145,732 8 239.32% 2.68%
Dead Man Down FilmDistrict 38 39 39 48 67 58 5,345,250 2,188 2,443 10,895,295 7,179,244 18,074,539
Admission Focus Features 38 48 43 34 62 48 6,154,984 2,161 2,848 18,007,317 n/a 18,007,317 13 138.52% 47.35%
Fruitvale Station Weinstein 94 85 90 92 78 85 386,291 1,086 356 16,101,339 924,654 17,025,993 1 1702.60% 38.63%
Battle of the Year Sony / Screen Gems 6 29 18 52 27 40 4,603,177 2,008 2,292 8,888,355 7,661,122 16,549,477 20 82.75% 23.02%
The Last Exorcism Part II CBS 16 35 26 27 29 28 7,728,354 2,700 2,862 15,179,302 n/a 15,179,302 5 303.59% 154.57%
Machete Kills Open Road Films 29 41 35 39 61 50 3,837,183 2,538 1,512 8,008,161 7,000,000 15,008,161 12 http://en.wikipedia.org/wiki/Machete_Kills
Paranoia Relativity 4 32 18 34 34 3,528,376 2,459 1,435 7,385,015 6,400,000 13,785,015 35 39.39% 10.08%
I'm So Excited Sony Classics 47 55 51 38 49 44 97,328 99 983 1,368,119 10,356,000 11,724,119 couldnt find budget
Nebraska Paramount 92 86 89 86 80 83 140,401 968 145 11,720,400 n/a 11,720,400 12 97.67% 1.17%
Out of the Furnace Relativity 52 63 58 53 73 63 5,220,288 2,101 2,485 11,308,901 n/a 11,330,849 22 51.50% 23.73%
Before Midnight Sony Classics 98 94 96 82 80 81 246,914 897 275 8,114,627 3,061,842 11,176,469 3 372.55% 8.23%
Getaway Warner Bros 2 23 13 36 41 39 4,503,892 2,135 2,110 10,501,938 n/a 10,501,938 18 58.34% 25.02%
Bullet to the Head Warner Bros 46 48 47 41 55 48 4,548,201 2,404 1,892 9,489,829 n/a 9,489,829
Black Nativity Fox Searchlight 48 48 48 57 59 58 3,669,530 1,525 2,406 7,018,189 435,996 7,454,185 17.5 42.60% 20.97%
Blue Is the Warmest Color IFC 90 88 89 87 82 85 100,316 142 706 2,162,243 5,180,019 7,370,529 5.5 134.01% 1.82%
Unfinished Song Weinstein 64 57 61 71 82 77 25,728 91 283 1,702,668 5,338,686 7,041,354 couldnt find budget
The Spectacular Now A24 92 82 87 80 80 197,415 770 256 6,854,611 n/a 6,854,611 2.5 274.18% 7.90%
All Is Lost Roadside Attractions 93 87 90 66 63 65 93,583 483 194 6,223,289 n/a 6,262,942 8.5 73.68% 1.10%
Closed Circuit Focus Features 42 51 47 33 56 45 2,464,931 870 2,833 5,750,401 n/a 5,750,401 19 http://www.globalpost.com/dispatch/news/thomsonreuters/130827/ericbana-talks-closed-circuit-we-planted-snowden-hes-our-russi
The Company You Keep Sony Classics 55 57 56 45 57 51 131,718 807 163 5,133,027 n/a 5,133,027 2 256.65% 6.59%
Oldboy FilmDistrict 43 49 46 37 44 41 885,382 583 1,519 2,193,658 2,667,364 4,861,022 30 16.20% 2.95%
Frances Ha IFC 93 82 88 78 76 77 137,398 233 590 4,066,582 n/a 4,069,826 7 58.14% 1.96%
Emperor Roadside Attractions 31 48 40 47 61 54 1,014,099 311 3,261 3,346,265 n/a 3,346,265
Stand Up Guys Lionsgate 37 41 39 47 59 53 1,486,390 670 2,218 3,310,031 n/a 3,310,031 1.8 183.89% 82.58% couldnt find budget
In a World Roadside Attractions 92 79 86 74 65 70 70,541 144 490 2,963,902 n/a 2,963,902 1 331.00% 148.64%
The East Fox Searchlight 74 68 71 66 74 70 77,031 195 395 2,301,839 99,671 2,401,510 6.5 36.95% 1.19%
No Sony Classics 93 81 87 79 72 76 71,742 99 725 2,343,664 n/a 2,343,664
Renoir Samuel Goldwyn 68 64 66 57 63 60 65,194 86 758 2,293,798 n/a 2,293,798 6 39.06% 1.20%
Austenland Sony Classics 30 42 36 60 60 60 40,662 274 148 2,159,041 n/a 2,159,041 4.9 44.06% 0.01
The Iceman Millenium Entertainment 66 60 63 63 73 68 87,946 258 341 1,969,193 n/a 1,969,193 10 19.69% 0.88%
Girl Most Likely Roadside Attractions 20 37 29 35 75 55 694,447 351 1,978 1,378,591 n/a 1,378,591 60 2.30% 1.16% couldnt find budget
Wadjda Sony Classics 99 81 90 89 69 79 41,253 87 474 1,347,578 n/a 1,347,747 0.25 539.10% 0.17
Much Ado About Nothing Roadside Attractions 84 78 81 78 77 78 171,942 222 775 4,328,849 n/a couldnt find budget
Behind the Candelabra HBO Films 95 82 89 71 80 76 n/a n/a n/a n/a 2,568,300 2,568,300 23 11.17% n/a This film came out only as a TV movie in the US http://www.thenumbers.com/movie/Behindthe-Candelabra#tab=summary
The Butler Weinstein Company 73 66 70 79 65 72 24,637,312 2,933 8,400 116,632,095 51,111,019 167,743,114 30 559.14% 0.82
The Canyons IFC 22 36 29 55 55 13,351 1 13,351 56,825 136,203 193,028 0.25 77.21% 0.05 http://www.imdb.com/title/tt2292959/?ref_=nv_sr_1
The Call TriStar 43 51 47 66 64 65 17,118,745 2507 6,828 51,872,378 16,700,000 68,572,378 13 527.48% 1.32
The English Teacher Cinedigm Entertainment 42 42 42 71 71 6,001 2 3,001 104,810 61,949 104,810
John Dies at the End Magnolia 61 53 57 53 70 62 12,467 1 12,467 141,951 141,951 1 14.20% 0.01 http://herocomplex.latimes.com/movies/johndies-at-the-end-paul-giamatti-don-coscarelli-on-cult-cinema/#/0
Lovelace RadiusTWC 55 51 53 37 61 49 184,536 118 1,564 356,582 1,168,220 1,524,802 10 15.25% 0.02
<!DOCTYPE html>
<html>
<head>
<script src="https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.16/d3.js"></script>
<style>
body {
font-family: sans-serif;
}
.axis path,
.axis line {
fill: none;
stroke: black;
shape-rendering: crispEdges;
}
.axis text {
font-family: sans-serif;
font-size: 11px;
}
.label {
font-family: sans-serif;
font-size: 16px;
}
.title {
font-family: sans-serif;
font-size: 30px;
}
input {
top: 30px;
left: 400px;
position: absolute;
}
label {
top: 30px;
left: 370px;
position: absolute;
}
</style>
</head>
<body>
<h1>Do the Good (Movies) Prosper?</h1>
<p>This chart tries to answer the eternal question:
how does a movie's quality correlate with its box office success?</p>
<p>Mouse over each circle for the movie title.
The circles are sized according to the movie's budget.</br>
Warmer colors are more profitable, cool colors are bombs (sorry, Girl Most Likely).</p>
<svg/>
<script type="text/javascript" src="chart.js"></script>
<p><a href="https://docs.google.com/spreadsheets/d/1RMBdXYCrI_8S6wlTicmGbAXuh1TnnbCG6vQkZ6hOyf8/edit?authkey=CPuZiLcG#gid=31">Data</a> courtesy of the lovely people at Information is Beautiful</p>
<p>Like data? Graphs? Kittens? Then check out more of my charts and projects at
<a href="http://geezhawk.github.io/portfolio/">geezhawk.github.io</a></br>
(I lied there aren't actually any kittens)</p>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment