<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Fun With SAS ODS Graphics: What Are the 2026 Best Picture Oscar Nominees' Odds of Winning? in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Fun-With-SAS-ODS-Graphics-What-Are-the-2026-Best-Picture-Oscar/m-p/984799#M25859</link>
    <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2026OscarsSmall.png" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/113638i5992523470FBD7C9/image-size/large?v=v2&amp;amp;px=999" role="button" title="2026OscarsSmall.png" alt="2026OscarsSmall.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Oscars are tonight, so here's a SAS ODS Graphics annotated text + needle chart of the implied probability + &lt;A href="https://www.espn.com/espn/betting/story/_/id/48162551/2026-oscars-odds-betting-picks-predictions" target="_self"&gt;odds of winning&lt;/A&gt; for the Best Picture nominees (Spoiler Alert: things look good for&amp;nbsp;&lt;EM&gt;One Battle After Another&lt;/EM&gt;!).&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Didn't get to watch all the nominees? No problem! Clickable images in &lt;A href="https://tedconway.github.io/Misc/oscars2026.html" target="_self"&gt;GitHub-hosted version of SAS ODS Graphics chart&lt;/A&gt; will take you to the 2026 Academy Awards Best Picture nominee trailers on YouTube!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;* Fun With SAS ODS Graphics: What Are the Odds of Winning for the 2026 Best Picture Oscar Nominees?;

proc import datafile='/home/ted.conway/nominees/nominees2026.xlsx' dbms=xlsx out=nominees replace; * Import nominee info and odds from Excel;
                                     * Create annotation dataset that using imported nominee info;
%SGANNO;                             * Images all the same height, but displayed at height that matches their probability of winning; 
data nominees2026;                   * Add annotation info about nominated films; 
set nominees(obs=10);                * Only first 10 rows have movie info;
retain function 'image' border "true" linecolor "white" drawspace "datavalue" imagescale "fitheight" height 1 heightunit "DATA" anchor "BOTTOM";
image=cats('/home/ted.conway/nominees/',PosterImage,'.jpg'); * Annotation info that's constant for all films;
xc1=BestPictureNominee;              * x-axis value for movie names (categorical);
y1=Probability;                      * y-axis value for bottom of image (probability);
txtProbOdds=cats(put(probability,percent6.2))||' '||cats('(',odds,')'); * Dispaly probability + odds above image;
ProbabilityPlus1=Probability+1.01;   * y-axis value for probability (display probability + odds above image, which has height of 1);
                                     * Generate chart of films/probability of winning (Text+Needle plots and annotation);
ods html5 path='/home/ted.conway/nominees' body='oscars2026.html' options(bitmap_mode="inline"); * Create clickable web page graph;
ods graphics / reset imagemap=on height=6in width=24in imagefmt=png noborder imagename='Oscars2026'; * Use SVG for sharper static image, PNG format for clickable movie images that play YouTube trailers;
proc sgplot data=nominees2026 sganno=nominees2026 nowall noborder noautolegend ;
styleattrs backcolor=black;          * Lights out - they're movies!;
inset "2026 Best Picture Nominees: Implied Probability &amp;amp; Odds of Winning (Click Image to View YouTube Trailer)" 
      / textattrs=(color=white size=17pt weight=bold) position=topleft;
text x=BestPictureNominee y=probabilityplus1 text=txtProbOdds / strip contributeoffsets=none textattrs=(size=12pt color=white weight=bold) position=top; * Display probabilities/odds above images;
needle x=BestPictureNominee y=probability / lineattrs=(thickness=4pt color=white); * Show a drop line from image to baseline ("lollipop" chart);
xaxis display=(nolabel noticks noline) valueattrs=(color=white weight=bold size=12pt) offsetmin=.06 offsetmax=.06; * X-axis displays movie names in descending order of probability;
yaxis display=(nolabel noticks noline) valueattrs=(color=white weight=bold size=12pt) values=(0 .25 .50 .75 1.00 2) valuesdisplay=('0' '25%' '50%' '75%' '100%' ' ') offsetmin=.01 offsetmax=.05; * Y-axis displays probablility of winning;
refline 0 .25 .5 .75 1 / axis=y lineattrs=(color=grey) label=""; * Display reference lines for at 0%/25%/50%/75%/100%; 
run;
ods html5 close;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;DETAIL (SVG)&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2026OscarsLarge.png" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/113639i141CB70C3EFC2737/image-size/large?v=v2&amp;amp;px=999" role="button" title="2026OscarsLarge.png" alt="2026OscarsLarge.png" /&gt;&lt;/span&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;EXCEL INPUT&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="BestPicture2026Info.png" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/113640iCFD5C6D1C4CFE44E/image-size/large?v=v2&amp;amp;px=999" role="button" title="BestPicture2026Info.png" alt="BestPicture2026Info.png" /&gt;&lt;/span&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 15 Mar 2026 16:35:55 GMT</pubDate>
    <dc:creator>tc</dc:creator>
    <dc:date>2026-03-15T16:35:55Z</dc:date>
    <item>
      <title>Fun With SAS ODS Graphics: What Are the 2026 Best Picture Oscar Nominees' Odds of Winning?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Fun-With-SAS-ODS-Graphics-What-Are-the-2026-Best-Picture-Oscar/m-p/984799#M25859</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2026OscarsSmall.png" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/113638i5992523470FBD7C9/image-size/large?v=v2&amp;amp;px=999" role="button" title="2026OscarsSmall.png" alt="2026OscarsSmall.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Oscars are tonight, so here's a SAS ODS Graphics annotated text + needle chart of the implied probability + &lt;A href="https://www.espn.com/espn/betting/story/_/id/48162551/2026-oscars-odds-betting-picks-predictions" target="_self"&gt;odds of winning&lt;/A&gt; for the Best Picture nominees (Spoiler Alert: things look good for&amp;nbsp;&lt;EM&gt;One Battle After Another&lt;/EM&gt;!).&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Didn't get to watch all the nominees? No problem! Clickable images in &lt;A href="https://tedconway.github.io/Misc/oscars2026.html" target="_self"&gt;GitHub-hosted version of SAS ODS Graphics chart&lt;/A&gt; will take you to the 2026 Academy Awards Best Picture nominee trailers on YouTube!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;* Fun With SAS ODS Graphics: What Are the Odds of Winning for the 2026 Best Picture Oscar Nominees?;

proc import datafile='/home/ted.conway/nominees/nominees2026.xlsx' dbms=xlsx out=nominees replace; * Import nominee info and odds from Excel;
                                     * Create annotation dataset that using imported nominee info;
%SGANNO;                             * Images all the same height, but displayed at height that matches their probability of winning; 
data nominees2026;                   * Add annotation info about nominated films; 
set nominees(obs=10);                * Only first 10 rows have movie info;
retain function 'image' border "true" linecolor "white" drawspace "datavalue" imagescale "fitheight" height 1 heightunit "DATA" anchor "BOTTOM";
image=cats('/home/ted.conway/nominees/',PosterImage,'.jpg'); * Annotation info that's constant for all films;
xc1=BestPictureNominee;              * x-axis value for movie names (categorical);
y1=Probability;                      * y-axis value for bottom of image (probability);
txtProbOdds=cats(put(probability,percent6.2))||' '||cats('(',odds,')'); * Dispaly probability + odds above image;
ProbabilityPlus1=Probability+1.01;   * y-axis value for probability (display probability + odds above image, which has height of 1);
                                     * Generate chart of films/probability of winning (Text+Needle plots and annotation);
ods html5 path='/home/ted.conway/nominees' body='oscars2026.html' options(bitmap_mode="inline"); * Create clickable web page graph;
ods graphics / reset imagemap=on height=6in width=24in imagefmt=png noborder imagename='Oscars2026'; * Use SVG for sharper static image, PNG format for clickable movie images that play YouTube trailers;
proc sgplot data=nominees2026 sganno=nominees2026 nowall noborder noautolegend ;
styleattrs backcolor=black;          * Lights out - they're movies!;
inset "2026 Best Picture Nominees: Implied Probability &amp;amp; Odds of Winning (Click Image to View YouTube Trailer)" 
      / textattrs=(color=white size=17pt weight=bold) position=topleft;
text x=BestPictureNominee y=probabilityplus1 text=txtProbOdds / strip contributeoffsets=none textattrs=(size=12pt color=white weight=bold) position=top; * Display probabilities/odds above images;
needle x=BestPictureNominee y=probability / lineattrs=(thickness=4pt color=white); * Show a drop line from image to baseline ("lollipop" chart);
xaxis display=(nolabel noticks noline) valueattrs=(color=white weight=bold size=12pt) offsetmin=.06 offsetmax=.06; * X-axis displays movie names in descending order of probability;
yaxis display=(nolabel noticks noline) valueattrs=(color=white weight=bold size=12pt) values=(0 .25 .50 .75 1.00 2) valuesdisplay=('0' '25%' '50%' '75%' '100%' ' ') offsetmin=.01 offsetmax=.05; * Y-axis displays probablility of winning;
refline 0 .25 .5 .75 1 / axis=y lineattrs=(color=grey) label=""; * Display reference lines for at 0%/25%/50%/75%/100%; 
run;
ods html5 close;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;DETAIL (SVG)&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2026OscarsLarge.png" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/113639i141CB70C3EFC2737/image-size/large?v=v2&amp;amp;px=999" role="button" title="2026OscarsLarge.png" alt="2026OscarsLarge.png" /&gt;&lt;/span&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;EXCEL INPUT&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="BestPicture2026Info.png" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/113640iCFD5C6D1C4CFE44E/image-size/large?v=v2&amp;amp;px=999" role="button" title="BestPicture2026Info.png" alt="BestPicture2026Info.png" /&gt;&lt;/span&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 15 Mar 2026 16:35:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Fun-With-SAS-ODS-Graphics-What-Are-the-2026-Best-Picture-Oscar/m-p/984799#M25859</guid>
      <dc:creator>tc</dc:creator>
      <dc:date>2026-03-15T16:35:55Z</dc:date>
    </item>
  </channel>
</rss>

