File talk:Asian enrollment at Ivy League schools, 1980–2011.svg

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

Source[edit]

SVG Chart

Mark and copy the following text. Paste it into a plain text file. The text file should have an svg extension, for example mychart.svg.

You can check the result with Toolforge tool SVGCheck (upload file temporarily), in W3Schools Tryit Editor (insert source code) or in Commons with File:Test.svg (upload as new file revision).

<?xml version="1.0" encoding="UTF-8" ?>
<!-- Generator: wikimedia.svg.chart, 2013-08-28 -->
<!-- modify viewBox (x,y,dx,dy) for position (x,y) and size (dx,dy) -->
<svg id="head"
  xmlns="http://www.w3.org/2000/svg"
  xmlns:xlink="http://www.w3.org/1999/xlink"
  version="1.1"     
  viewBox="-17.67,-78.3,155.27,95"      
  width="750" height="460"
  font-family="Helvetica, Arial, Liberation Sans"
>

<!-- also a workaround for librsvg: a <rect> must be placed somewhere before text for a good display of text -->
<rect id="imagebackground" x="-17.67" y="-78.3" width="155.27" height="95" stroke-width="0.09" stroke="none" fill="white"/>

<title>plain text svg graphic</title>
<desc>   
  This svg graphic is to edit with an text editor.
  Please do not overwrite this file by saving with an image editor.
  ----------------&#13; The Myth of American Meritocracy: Quantitative Sources and Methods, by Ron Unz, November 21, 2012, "Appendix C: Racial and Ethnic Enrollments at Elite Universities", summarizing data from the National Center for Education Statistics
</desc>

<style id="styles" type="text/css"> <![CDATA[
  .graphgeneral {         /*-- general look of graphs and markers, e.g. in legend --*/
    stroke-width:    0.651;
    fill:            none;
    stroke-linejoin: round;
    stroke-linecap:  round;
  }
  .graphgeneralstretch {  /*-- general look of graphs and markers on a stretched chart --*/ 
    stroke-width:    0.651;
    fill:            none;
    stroke-linejoin: round;
    stroke-linecap:  round;
  } 
.graph1lineblank { /*-- look of graph 1 --*/ stroke: rgb(00%, 00%, 60%); } .graph1line { stroke: rgb(00%, 00%, 60%); }
.graph2lineblank { /*-- look of graph 2 --*/ stroke: rgb(75%, 10%, 10%); } .graph2line { stroke: rgb(75%, 10%, 10%); }
.graph3lineblank { /*-- look of graph 3 --*/ stroke: rgb(00%, 60%, 00%); } .graph3line { stroke: rgb(00%, 60%, 00%); }
.graph4lineblank { /*-- look of graph 4 --*/ stroke: rgb(00%, 60%, 60%); } .graph4line { stroke: rgb(00%, 60%, 60%); }
.graph5lineblank { /*-- look of graph 5 --*/ stroke: rgb(60%, 00%, 60%); } .graph5line { stroke: rgb(60%, 00%, 60%); }
.graph6lineblank { /*-- look of graph 6 --*/ stroke: rgb(60%, 60%, 00%); } .graph6line { stroke: rgb(60%, 60%, 00%); }
.graph7lineblank { /*-- look of graph 7 --*/ stroke: rgb(00%, 00%, 30%); } .graph7line { stroke: rgb(00%, 00%, 30%); }
.graph8lineblank { /*-- look of graph 8 --*/ stroke: rgb(00%, 30%, 00%); } .graph8line { stroke: rgb(00%, 30%, 00%); } .axisline { stroke: black; stroke-width: 0.326; stroke-linecap: round; } .titletext { font-size: 6.138px; } .axistext-x { font-size: 5.58px; } .axistext-x-number { font-size: 5.58px; } .axistext-y { font-size: 5.58px; } .axismark-main { stroke: black; stroke-width: 0.228; } .axismark-second { stroke: black; stroke-width: 0.228; }   .legendtext { font-size: 5.58px; text-anchor: start; } ]]></style> <defs> <!--== axis dashes definitions ==--> <!-- x-axis mark, modify "height" --> <pattern id="x-axismark-main" x="0" width="10" height="2" patternUnits="userSpaceOnUse"> <line x1="0" y1="-1" x2="0" y2="2" class="axismark-main"/> </pattern> <!-- y-axis mark, modify "width" --> <pattern id="y-axismark-main" width="2" height="10" patternUnits="userSpaceOnUse"> <line x1="-1" y1="0" x2="2" y2="0" class="axismark-main"/> </pattern> <!-- y-axis2 mark, modify "width" --> <pattern id="y-axis2mark-main" width="1" height="10" patternUnits="userSpaceOnUse"> <line x1="-1" y1="0" x2="11" y2="0" class="axismark-main"/> </pattern> </defs> <g transform="scale(1, -1)"> <!-- x axis, modify "x2" and "width" --> <rect id="x-axismark" x="-0.5" y="-1.8" width="94.9" height="1.75" fill="url(#x-axismark-main)"/> <line id="x-axis" x1="0" y1="0" x2="93" y2="0" class="axisline"/> <!-- y axis, modify "height" --> <rect id="y-axismark" x="-1.75" y="-0.5" width="1.75" height="76" fill="url(#y-axismark-main)"/> <line id="y-axis" x1="0" y1="0" x2="0" y2="75" class="axisline"/> </g> <!-- x axis text, modify each value --> <g id="axistext-x" class="axistext-x-number" transform="translate(0, 7.3)" text-anchor="middle"> <text id="title-x" class="axistext-x" x="46.5" y="7.3" >Year</text> </g> <!-- y axis text, modify each value --> <g id="axistext-y" class="axistext-y" text-anchor="end" transform="translate(-2.8, 1.4)">   <text y=  "-0">0</text>   <text y= "-30">10</text>   <text y= "-60">20</text>   <text y= "-90">30</text>   <text y="-120">40</text>   <text y="-150">50</text> <text id="title-y" x="37.5" y="-10.1" transform="rotate(-90)" text-anchor="middle" >Asian enrollment percentage</text> </g>
<!-- legend --> <g id="legend" class="legendtext" transform="translate(97.7, -67.5)">
<g id="legend-background" class="axismark-main"> <rect x="0" y="0" fill="white" width="37.2" height="15.1"/> </g>
  <g class="graphgeneral"><g class="graph1line"> <polyline id="legend-line1" points="1.86 4.3 6.51 4.3" marker-start="none" marker-end="none"/> </g></g> <text id="legend-text1" x="8.4" y="5.95">1st W </text>
  <g class="graphgeneral"><g class="graph2line"> <polyline id="legend-line2" points="1.86 10.43 6.51 10.43" marker-start="none" marker-end="none"/> </g></g> <text id="legend-text2" x="8.4" y="12.09">2nd W </text> </g> <!--====== graph data with origin values, you can manually copy or attach the values here ======--> <!-- modify displacement "translate" --> <defs> <g id="graphs">
<!-- graph 2 -->
<polyline id="graph2" points=" 25 40 40 10 55 35 70 10 85 40 "/> </g> <g id="graph1"> <!-- graph 1 --> <polyline id="graph1-line" stroke-width="0.651" points=" 15 40 30 10 45 35 60 10 75 40 "/> </g> </defs> <g class="graphgeneralstretch" transform="scale(3, -3) translate(-1980, -0)">
  <!-- graph 2 --> <use id="graphuse2-1" transform="translate(0, 0)" class="graph2line" xlink:href="#graph2"/>
  <!-- graph 1 --> <use id="graphuse1-1" transform="translate(0, 0)" class="graph1line" xlink:href="#graph1"/> </g> </svg>


Source data[edit]

Asian enrollment percentage by year, from The Myth of American Meritocracy: Quantitative Sources and Methods, by Ron Unz, November 21, 2012, "Appendix C: Racial and Ethnic Enrollments at Elite Universities", summarizing data from the National Center for Education Statistics

Year	Harvard	Yale	Princeton	Columbia	Brown	Cornell	Dartmouth	Penn	Caltech	MIT	Stanford	Berkeley
1980	4.1	5.6	3.2	9.7	3.8	6.4	1.6	3.8	12	5.3	6.3	21.7
1984	6.9	6.8	4.8	12.5	5.9	10.1	1.9	5.7	18.7	13.5	7.4	24.6
1986	9	7.8	7.1	12.8	7.2	11.5	3.6	7.3	21.4	15.8	9.8	25.5
1988	10.8	9.7	7.6	14.1	8.6	13.6	5.6	9.3	22.4	17.9	13.7	27.8
1990	10.9	14.1	9.6	16.2	10.9	15	6.3	12.6	22.1	21.2	18.4	30.4
1991	16.1	15.6	10.1	18.4	12.7	16.6	6.4	14.5	22.7	23	20.2	31.7
1992	19.1	16.1	9.4	19.9	14	17.7	7.1	15.9	25.2	25.5	22.2	35.9
1993	20.6	16.8	9.9	22.7	14.8	19.2	8.3	17.1	26.9	27.3	23.6	39.1
1994	18.3	15.6	10.5	19.5	15.2	20.1	8.5	17.8	29.8	28	24.6	38.9
1995	18.4	16.1	11.3	18.4	15.3	20.9	8.7	18.1	29.1	29.1	23.8	39.4
1996	17.5	16.8	12.1	16.3	15.6	20.4	8.7	17.9	27.6	28.5	23.9	39.9
1997	17.4	16.5	12.8	14.7	15.3	20.6	9.1	17.9	27.4	28.3	24.1	39.7
1998	17	16.1	12.9	13.9	15.2	19.7	10.2	18.5	24.1	28.4	23.5	39.8
1999	17.2	14.6	12.3	12.6	14.7	19.9	9.8	19.2	24.3	27.7	24	39.9
2000	17.1	14.5	12.3	13.5	14.9	19.8	10.2	19	24.9	27.5	24.5	40.9
2001	16.4	13.8	12.1	13.6	14.5	19.7	10.5	19.5	24.5	27.8	24.7	41.3
2002	16.3	13.5	12.2	14.2	13.7	19.8	11.6	18.4	27.2	27.4	24.5	42.3
2003	16.2	13.4	12.9	16.3	13.6	16.4	12.2	16.8	31.1	28.2	25.2	41.7
2004	17.1	13.6	13	16.4	13.5	16.3	13.4	17.6	31.1	27.8	24.3	41.5
2005	17.6	13.6	13.1	16.7	13.7	15.9	13.5	17.2	33	26.6	24.2	41.9
2006	14.3	13.5	13.6	17.2	13.9	16.1	13.4	17.6	37.4	26.5	24.2	41.8
2007	15.4	13.7	14.1	17.2	15.3	16.2	13.6	16.8	38.1	25.9	24.2	42.2
2008	16.7	13.8	15	16.9	15.9	16.5	13.6	17.3	39.8	25.4	23	42
2009	17	14.3	15.7	16.3	15.4	16.6	14.5	17.8	39.9	25	23.1	40.8
2010	15.6	14.2	16.9	15.7	14.6	16.1	14.5	17.9	39.4	23.9	17.9	38.7
2011	17.2	15.2	17.6	15.6	13.5	16.4	14	18.3	38.8	24	18.2	37.1